On 27 Nov 2012, at 23:54, Howard Rubin wrote:

> I have a class with an fltk window in it. In that class's constructor I 
> call set_modal() for the window. I create an object of that class and 
> then call show(). I'd expect to the call to show() to not return until I 
> close the popped up window, but instead show() returns immediately.
> 
> I'm used to windows where a call to DoModal() doesn't return until you 
> close the popped up window. Is there a way to do that in fltk?


Take a look at the samples in the test folder - several of those show modal 
dialogs in action, so that might let you see how to achieve what you want.

I would caution that the "Windows way" is quite odd in places, different from 
what fltk does, and indeed many other GUI libs do, so it may not be immediately 
equivalent in terms of operation... though you can do all the same things of 
course, but the "how" of them differs...




_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to