RE: [gtk-list] Deletion of windows and window manager icons
- From: "Arjan J. Molenaar" <arjan xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Deletion of windows and window manager icons
- Date: Mon, 6 Sep 1999 16:33:44 +0200
> -----Original Message-----
> From: Mark Shinwell [mailto:mrs30@cam.ac.uk]
> Sent: Monday, September 06, 1999 4:29 PM
> To: gtk-list@redhat.com
> Subject: [gtk-list] Deletion of windows and window manager icons
>
>
> Hi
>
> Can anyone tell me how to:
>
> - trap the user clicking the close button on a window before
> the delete
> signal is sent, such that I can prevent the close if necessary?
You should connect a handler to the windows delete signal (not destroy!)
If you return TRUE the window will not be destroyed (otherwise return FALSE, I can't recall which one is the correct one :-( ).
> - set the window manager icon of a GtkWindow?
check out the GTK test app. It has such a feature (WMHints)
> Cheers
> Mark
>
regards,
Arjan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]