Re: keep window above other

From: Date: Sun, 27 May 2007 11:12:26 +0000
Subject: Re: keep window above other
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7880@lists.php.net to get a copy of this message
if i use GladeXML to create the window (logon window) how do i reference to its parent (main window)also created using GladeXML?? or how would the logon window know it was the child of the main window?? i am getting slightly confused??!!?? bob majdak jr wrote: > > on the small window: > > set_transient_for(parent) > set_modal(true) > > that should prevent the big window from doing anything while the little > window is up - but that depends on if your window manager honours those > things. the small window should probably even follow the big one if it > was moved. i would probably recommend: > > set_position(Gtk::WIN_POS_CENTER_ON_PARENT) > > on the small window too. > > - bob. > > > > Adz07 wrote: >> If i load a large indow and small window at the start up of an app is it >> possible to keep the small window infront of the larger one and not allow >> focus on the big one untill the small one is closed?? >> >> The only way i can see is to set the small window to set keep above, but >> this isn't really what i am after. > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/keep-window-above-other-tf3822470.html#a10823976 Sent from the Php - GTK - General mailing list archive at Nabble.com.

« previous php.gtk.general (#7880) next »