Re: [gtk-list] close button in the window title bar
- From: Ian Main <slow intergate bc ca>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] close button in the window title bar
- Date: Sun, 19 Oct 1997 15:48:29 -0700 (PDT)
On Sun, 19 Oct 1997, Sven Over wrote:
> Hello!
>
> How do I use the close button in a window's title bar???
Hmm.. this is becoming a bit of a FAQ :)
You have to connect the "delete_event" to the window.. this handler will
be called when you press the "close" button on the titlebar. If you want
it to call the "destroy" signal for the window afterwards, return TRUE in
the delete_event signal handler.
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]