Re: how to clear a text box entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dis_is_eagle@xxxxxxxxx> 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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux