[Glade-users] GtkEntry

Domenico Ferrari domfe at tiscali.it
Tue Jun 10 09:22:46 UTC 2014


You should use GTK_ENTRY instead of a direct cast because GTK_ENTRY
does type checking.

GtkWidget *myEntry;
const char* text ;

myEntry=gtk_entry_new();

...

text = gtk_entry_get_text( GTK_ENTRY(myEntry));


Cheers,
Dome


More information about the Glade-users mailing list