Re: GtkCombo box not really being destroyed?
- From: learfox furry ao net
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Cc: hp redhat com
- Subject: Re: GtkCombo box not really being destroyed?
- Date: Thu, 9 Nov 2000 19:58:26 -0800 (PST)
I specifically created a GtkCombo with a signal for "destroy_event", ie:
gtk_signal_connect(
GTK_OBJECT(combo),
"destroy_event",
GTK_SIGNAL_FUNC(GUIComboDestroyCB),
(gpointer)cb_data
);
However function GUIComboDestroyCB() is never called when
gtk_destroy_widget() is done on the combo box. I tried attaching the
signal to combo->entry as well but that didn't work either.
Other widgets that have the destroy_event signal work properly, except for
the GtkCombo is there a reason why or did I use the wrong procedure?
Use "destroy" not "destroy_event", "destroy_event" is useless.
Havoc
What's the prototype for the callback function for the "destroy" signal?
I couldn't find it in any of the header files. Would it be
void DestroyCB(GtkWidget *widget, gpointer data); ?
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]