Re: Gtk: Modal windows can go behind parent window
| From: | bob majdak jr | Date: | Sun, 01 Apr 2007 13:03:55 +0000 |
| Subject: | Re: Gtk: Modal windows can go behind parent window | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7773@lists.php.net to get a copy of this message | ||
<grr thunderbird, resent to list this time.>
set_transient_for(), then set_modal(true).
- bob.
Kyohere Luke wrote:
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