Re: hiding windows when pressing on window manager (X)
- From: Paul Davis <paul linuxaudiosystems com>
- To: Neil Zanella <nzanella gmail com>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: hiding windows when pressing on window manager (X)
- Date: Thu, 02 Dec 2004 20:29:09 -0500
>I would like to know, is there a way to tell GTK that when the user
>clicks on the
>window manager's (X) usually found in the upper right hand corner of window
>frames, the window is to be hidden instead of destroyed? This behavior is
>the one needed for child windows of parent windows which the main
>application usually just hides.
connect to the "delete" event for the windoe, and return TRUE in your
handler. this bypasses the usual handling of the event and leaves the
window.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]