MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
>> Do you know if there is a way to "guarantee" that a window is
>> been mapped
>> (shown)? I know that show() triggers the window to be mapped,
>> but the WM
>> can map it at anytime really. Perhaps a short delay, say 100ms?
> 
> Can you do something with polling shown() and visible() on the window to
> find out if it is mapped yet? Don't know if that will work...

I think they will return true even if the WM hasn't really mapped the
window. Now that I think of it, if the window doesn't actually get mapped
to the screen before hide() is called, then that's ok.

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

Reply via email to