dodi-nug wrote:
> i failed to get text from entry text's widget, it seem that
> in gtk tutorial page(www.gtk.org/tutorial/sec-textentries.html)
> doesn't work too.
> i have tried gtk_editable_get_chars ( Mr. bowman's advise),
> but i didn't work too.

It should work. Try:

        char *txt = gtk_editable_get_chars( GTK_EDITABLE( text ), 0, -1 );

        printf( "You typed: \"%s\"\n", txt );
        free( txt );

John

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to