[Insight-users] Silly FLTK/ITK Question
Luis Ibanez
luis.ibanez at kitware.com
Wed Jun 13 17:49:55 EDT 2007
Hi Zein,
You should mark the window with the file dialog as a "modal"
window.
In this way, the other windows will not get focus until you
close the window with the metaimage file dialog.
You will find instructions on how to make a window "Modal"
in the FLTK documentation.
Regards,
Luis
====================
Zein Salah wrote:
>
> Hello everybody,
>
> I have an ITK application that has an FLTK main windows as user
> interface. A "Load Image" buttom
> on this main window should pop up a new window for loading a MetaImage
> file (choose file name,
> preview, etc.).
>
> The problen is: The main window does not wait for the
> file-loading-window to finish, and continues
> before a file has been loaded. I would like that the main window suspend
> until the file-loading-window
> is closed, i.e. until I am sure that a valid image has been loaded.
>
> Please, what is the trick for doing this?
>
> Much thanks,
> Zein
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list