On 9 Jul 2008, at 9:51, [EMAIL PROTECTED] wrote:

> Hi
>
> I want to have a function DoSomethingAfterWindowShown() which  
> should be called after run() is called. How do I do that? By using  
> a timeout handler?

A timeout could be an option, it depends on how long after the window  
is shown... As others have said, if you want to do something as, or  
immediately after, the window is drawn for the first time, then  
overriding your window's ::draw() method is probably the way to go.

However, if you want to do you function some longer time after the  
window is shown, then the add_timeout approach is a reasonable way to  
go.




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

Reply via email to