[Insight-users] fltk/user interface question

Jason Bryan jbryan at osc . edu
Wed, 28 May 2003 09:55:15 -0400 (EDT)


i don't know much about ITK, but i do know FLTK-
it sounds like you want a modal window. before you open up the new window,
first call window->set_modal(); on it. this will cause fltk to only send
events to the new window, and all other windows will become inactive until
that window closes.

hope this helps...

On Wed, 28 May 2003, salah wrote:

> Hello everybody,
> 
> My FLTK user interface represents a processing pipeline.
> One of the buttons of this UI display a new windows
> with new UI for some processing. The result of the 
> processing done in the second UI is to be fed as input
> to the subsequent step in the original pipeline controlled
> be the original UI. 
> 
> Now: when I press the button and the new UI is shown,
> I can still go to the original UI and use its controls, i.e, I can 
> control both windows UI's. The thing that I don't wont. 
> I need the control to go back to the original UI only when the 
> second UI window is closed, i.e. when the result of the 
> processing done in it is ready.
> 
> Can anybody please tell me how to do this???
> 
> Thanks,
> Zein
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at public . kitware . com
> http://public . kitware . com/mailman/listinfo/insight-users
> 

+--
|
|  Jason Bryan
|  Director of Software Development, Interface Lab
|  Ohio Supercomputer Center
|  1224 Kinnear Rd
|  Columbus, Ohio 43212
|  (614) 292-1051
|  www.osc.edu/Biomed
|
|  Have you seen VolSuite?
|  http://www . osc . edu/VolSuite
|
+--