GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Aug 02, 2014 6:33 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: reset text entry
PostPosted: Wed Feb 15, 2012 8:21 am 
Offline
Familiar Face

Joined: Wed Feb 01, 2012 10:39 am
Posts: 7
hello.. Is there any method available in GTK to reset the text entry field??


Top
 Profile  
 
 Post subject: Re: reset text entry
PostPosted: Wed Feb 15, 2012 9:09 am 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hi.

If by reset you mean delete all text, then you can do this:

Code:
gtk_entry_set_text (GTK_ENTRY (entry), "")


Cheers,
Tadej


Top
 Profile  
 
 Post subject: Re: reset text entry
PostPosted: Wed Feb 15, 2012 2:27 pm 
Offline
Familiar Face

Joined: Wed Feb 01, 2012 10:39 am
Posts: 7
Ya.. I used the same.. Thanx for your reply..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group