Re: [gtk-list] stop widget destruction?
- From: robert havoc pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] stop widget destruction?
- Date: Tue, 5 May 1998 14:23:13 -0500 (CDT)
On Tue, 5 May 1998, Matt Wimer wrote:
> i have a toplevel shell widget that i show when a user clicks
> a button. If the user clicks on the window manager's decorative close
> i want to keep the window from being destroyed by gtk but let
> one of my functions unshow the window.
>
> this can be done right?
>
I think you want to return TRUE from your delete_event handler. That
should block the destroy.
Havoc Pennington
http://pobox.com/~hp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]