RE: [gtk-list] Re: Window destroying!
- From: rhfreeman <rhfreeman micron com>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Re: Window destroying!
- Date: Fri, 18 Feb 2000 02:44:51 -0700
> This only sets the local copy of lwindow to NULL. In all
> other places it will
> still be whatever value it is.
> I think you want to connect to "destroyed" as well like this
>
> gtk_signal_connect (GTK_OBJECT (lwindow), "destroyed",
> GTK_SIGNAL_FUNC (gtk_widget_destroyed),
> &lwindow);
Oops:
Gtk-WARNING **: gtk_signal_connect(): could not find signal "destroyed" in
the `GtkWindow' class ancestry
So I just connected the "destroy" signal twice! The 2nd time with the call
above with "destroy" instead of "destroyed". All seems well now!
Is it really a good idea to connect the same twice?
Rich
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]