Re: GtkCombo box not really being destroyed?



learfox furry ao net writes:
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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]