Re: detecting a gtk window
| From: | Brian Hull | Date: | Wed, 11 Jul 2001 19:36:59 +0000 |
| Subject: | Re: detecting a gtk window | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2133@lists.php.net to get a copy of this message | ||
the box has basically a yes/no box, click yes and the app dies, click no and
the confirmation window disappears.
the problem is that is built for windows users, if they click exit from the
menu, the box comes up.. if they lose focus on that window and click exit
again, now i have 2 confirmation boxes open. functionally its ok, but it
looks tacky.
----- Original Message -----
From: "Eric" <fenderboy@implode.com>
To: "Brian Hull" <Brian.Hull@verizon.com>
Sent: Wednesday, July 11, 2001 2:43 PM
Subject: Re: [PHP-GTK] detecting a gtk window
> Possibly a stupid question, but why not just call your shutdown function
> from the confirmation box? Like registering that function as the callback
> for the OK button?
>
> Eric
>
> ----- Original Message -----
> From: "Brian Hull" <Brian.Hull@verizon.com>
> To: <php-gtk@lists.php.net>
> Sent: Wednesday, July 11, 2001 2:26 PM
> Subject: [PHP-GTK] detecting a gtk window
>
>
> what is an easy way to detect if a window exists in a phpgtk app?
>
> i have a pop up window for exit verification, but if the user hits exit
the
> box will mulitply instead of only showing it once.
>
> brain stalled and so i thought i would ask here :)
>
>
> brian
>
>