Re: Gtk: Modal windows can go behind parent window
| From: | Kyohere Luke | Date: | Mon, 02 Apr 2007 05:38:44 +0000 |
| Subject: | Re: Gtk: Modal windows can go behind parent window | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7776@lists.php.net to get a copy of this message | ||
Thanks for the reply. However was already doing this: set_transient_for()
and then set_modal(true).
What fixed my issue though was ensuring that the windows had their
skip_taskbar_hint and skip_pager_hint set to false.
Cheers,
Luke
On 4/1/07, bob majdak jr <bob@kateos.org> wrote:
<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 -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- -- Luke Kyohere