Hi all,
I have a very basic query..
I want to capture the button clicked event and add text to some entry
widget. I am unable to connect the two widgets.
The code is as follows:
button = gtk_button_new_with_label ("copy");
g_signal_connect(G_OBJECT (button), "event",G_CALLBACK (callback),
gpoiinter(text1));
static void callback( GtkWidget *widget, gpointer data)
{
gtk_entry_set_text(GTK_ENTRY(data),"hello IDC");
}
regards
-Hari
_______________________________________________
Gimp-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer