[ snip ]Hi
when press okay the title on the entry will be write on console but i cannot connect enter function to okay button program compile normaly but hiting okay it gives this error
(iler:5219): GLib-GObject-WARNING **: invalid cast from `GParamBoolean' to `GtkEntry'
static void enter(GtkWidget *widget,GdkEvent *event,GtkEntry *edit)[ snip ]
button2=gtk_button_new_with_label("Okay");[ snip ]
gtk_signal_connect(GTK_OBJECT(button2),"clicked",GTK_SIGNAL_FUNC(enter),(gpointer)edit);
See <http://developer.gnome.org/doc/API/2.0/gtk/GtkButton.html#GtkButton-clicked>:
The "clicked" signal
void user_function (GtkButton *button, gpointer user_data);
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list