Set the entry widget to an empty string.

   gtk_entry_set_text(GTK_ENTRY(entry_widget), "");

See:
 http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html#gtk-entry-set-text

Regards,
Dov

On 5/16/06, June Rajkhowa <[EMAIL PROTECTED]> wrote:
hi...i am learning gtk2 and have faced a problem regarding text
entries...after entering text in a text box and pressing "enter" the text in
the text box should be cleared....what function should i use...thanx in
advance...june

 ________________________________
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2ยข/min or less.



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



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

Reply via email to