Re: [gtk-list] Re: GTK--: hello.cc questions
- From: Ionut Borcoman at home <borco mailbox ro>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: GTK--: hello.cc questions
- Date: Wed, 15 Jul 1998 04:17:18 +0000
Owen Taylor wrote:
>
> So, yes, there is one, but it is completely useless from
> the GTK+ and (gtk--) point of view.
>
What about the "examples/helloworld" example from the GTK+ (and from the
tutorial) ?
There is a callback for "delete event". If I return FALSE from that
callback, then the window is deleted and an "destroy event" is emitted.
I used it and it worked OK.
And, if I choose not to call this callback (by commenting the callback
asigment:
//gtk_signal_connect (GTK_OBJECT (window), "destroy",
// GTK_SIGNAL_FUNC (destroy), NULL);
than my main window is deleted but the application doesn't stop. Why is
this all so complicated ? Where can I find a good explanation of what
singnals are emitted and when ?
(I've found something in the docs/widget_system.txt, but still a bit
confused).
Ionutz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]