Re: keep window above other
| From: | bob majdak jr | Date: | Sun, 27 May 2007 02:27:12 +0000 |
| Subject: | Re: keep window above other | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7878@lists.php.net to get a copy of this message | ||
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.