Re: [gtk-list] Implementing "modeless" dialogs as in Photoshop




On Sun, 17 Jan 1999, Mohamed Hendawi wrote:
> I am interested in creating an application that has the same style as
> Adobe Photoshop where there is a large main area, and multiple
> palettes (modeless dialogs) within that area.   When I iconify the
> application,
> all of the palettes should be iconified as well.
> 
> Is this possible with GTK?  I created a main toplevel window and then
> a dialog and popup window.  When I iconify the main window, both the
> dialog window and the popup stay up.  
> 

If you call gtk_window_set_transient_for() to make the dialogs transient
relative to the main window, most window managers will minimize the
dialogs along with the main window.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]