Re: [gtk-list] Re: stop widget destruction?
- From: Matt Wimer <matt thunder cgibuilder com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: stop widget destruction?
- Date: Tue, 5 May 1998 12:40:41 -0700 (PDT)
> > 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.
Hmm, it didn't seem to help. I also tried FALSE. I just need a way
to keep gtk from deleting windows that the window manager wants deleted.
--mw
>
> Havoc Pennington
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]