Gtk: Modal windows can go behind parent window
| From: | Kyohere Luke | Date: | Sun, 01 Apr 2007 11:37:25 +0000 |
| Subject: | Gtk: Modal windows can go behind parent window | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7772@lists.php.net to get a copy of this message | ||
Hello,
I used the latest gnope installer to set up my php-gtk2 environment. Since
then, I've built an application that consists of multiple windows.
Before displaying a window that's supposed to be model, I use
$win->set_transient_for($parent) and then turn on the modal attributes.
The window responds as expected, by displaying over the parent window and
preventing the parent window from being edited until the modal one is
closed.
The problem, however, is that I find that clicking the parent window still
brings it infront of the modal one, although it still remains un-editable.
Is there a way to ensure that the parent window cannot be brought infront of
the modal "child" window?
Thanks
Luke
--
-- Luke Kyohere