Re: gtk text entry
- From: Muthiah Annamalai <dearestchum yahoo co in>
- To: srinivas comodo com, gtk-app-devel-list gnome org
- Cc:
- Subject: Re: gtk text entry
- Date: Thu, 19 May 2005 00:23:39 -0700 (PDT)
Hi,
To Check the entry widget for some text you can use
this.
<CODE>
const char *ptr= gtk_entry_get_text(text_widget);
if (!strlen(ptr)) throw_error_popup();
</CODE>
-Muthu
--- srinivas <srinivas comodo com> wrote:
hi all;
i am developing gui with glade and c. now i have
a "text entry" and
"next button" widget. when i press next button the
next frame will be
shown, but before displaying the next frame i would
like to check
whether text entry had filled with some text or not.
if it is filled
then the frame will be displayed, if not i will give
pop up msg saying
enter text b'fore pressing next. how to check the
text presence in text
entry.
thanks & regards;
vasu.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]