On 08.10.2009, at 11:24, Albrecht Schlosser wrote:

>> Apparently, when shown, the hierarchy of the windows depends on the  
>> order that I added them to the main window. Can that be changed?
>
> This is intentionally and can't be changed in FLTK 1.1 (and probably  
> in
> 1.3 as well). But this shouldn't have any effect if you only create  
> top
> level windows (without modal or non-modal attributes).

Calling "show()" will move any window to the front of the Z-order for  
its class (normal windows are put in front of all other normal  
windows, modal windows in front of all other modal windows, etc.),  
even if the window was already shown.

> BTW: IIRC FLTK 2 has a method named child_of(), and I *think* that  
> this
> is intended to make a created window a "child of" another window (WRT
> window hierarchy), but I'm absolutely not sure about it. If this is
> true, then this will be part of the (near?) future FLTK 3.0.

I am sure it is not to hard to port that feature into whichever  
version. There may be the OS X implementation missing though.

  Matthias

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

Reply via email to