Greg Ercolano wrote:
> Gary Hui Zhang wrote:
>>> The Fl_Tabs widget does exactly that when
>>> you select a tab: it show()s its group and hides any other contained groups.
>> This was my understanding but it doesn't appear to work, at least on MacOSX.
> 
>     I think I can replicate with 1.3.x + OSX.
> 
>     The following program makes two tabs with an openGL window in each,
>     drawing an 'x' in one, and a '+' in the other.
> 
>     A problem crops up when you switch to '+' then /back/ to 'x',
>     the '+' image and window remains.
> 
>     Also, when you then resize the window in this mode, you see /both/
>     gl windows are being shown, with one oddly floating and stuck, eclipsing
>     the other.
> 
>     Problem seems to happen only on osx, not on linux.
>     1.3.x in both cases.

Works as expected on Windows. I'll test on my Mac tomorrow.

>     Note sure if my code is doing something wrong here too,
>     but my guess is it might be something wrong in fltk's handling
>     of hide()/show() for openGL windows.. not sure.

Maybe indeed Mac-specific. We'll see. Maybe Matthias can have a look at 
this, 'cause he should know the code.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to