Re: GtkEntry

Domenico Ferrari <[email protected]> Tue, 10 Jun 2014 11:22:46 +0200
Newsgroups gmane.comp.gnome.glade.user
Message-ID <CAKeX1ArkS_CJLAZA3pzur3+cmNtnvvBKS4oS2gnUo6Ppc__k1g@mail.gmail.com>
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
_______________________________________________
Glade-users maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-users