[haiku-development] Re: BTabView

2008/3/7, Rene Gollent <anevilyak@xxxxxxxxx>:
> Moving this discussion to haiku-development to get further feedback.
>  Thoughts anyone?
>
>  Regards,
>
>  Rene
>
>  ---------- Forwarded message ----------
>  From: Stephan Assmus <superstippi@xxxxxx>
>  Date: Fri, Mar 7, 2008 at 9:30 AM
>  Subject: Re: BTabView
>  To: Rene Gollent <anevilyak@xxxxxxxxx>
>   you wrote:
>   > Hi Stephan,
>   >
>   > I notice our BTabView uses the same (imo broken) methodology as BeOS's
>   > did, which is to say that switching tabs is done by add/removing the
>   > child views instead of show/hiding them. Do you think it would break
>   > compatibility with anything if I reworked it to show/hide instead? This
>   > would be much more desirable since otherwise things like resizing break
>   > badly.
>
>   I was thinking along the same lines for the same reasons. What could break
>   is apps detecting a tab switch by overriding AttachedToWindow() in their
>   top level tab views. (I don't know if there is such a beast.)

I think many apps do that. At least, I always do that when I used a
BTabView in my apps (also Terminal does that).

Other related posts: