Why is this callback being called twice??
- From: "Steven J. Hill" <sjhill plutonium net>
- To: gtk-list redhat com
- Subject: Why is this callback being called twice??
- Date: Sat, 06 Feb 1999 13:57:38 -0600
Greetings. A quick question, I am trying to work with the GtkCombo widget
some more and am unable to figure out why my callback is being called twice.
Below is the code snippet:
popup_id = gtk_signal_connect (GTK_OBJECT (GTK_COMBO (combo)->list),
"select_child", GTK_SIGNAL_FUNC (test_cb), NULL);
void
test_cb (GtkWidget *wdg, gpointer data)
{
printf ("Callback entered.\n");
}
Could someone explain why that when I select an item out the list that I
am using in the GtkCombo widget, that the callback is called twice? Thanks.
-Steve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]