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 Dec 20, 2014 9:44 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How can only input numeric in Gtk::Entry(gtkmm)
PostPosted: Tue May 06, 2008 11:36 am 
Offline
Familiar Face

Joined: Fri Apr 18, 2008 11:48 am
Posts: 13
Location: DongGuan,China
How can only input numeric in Gtk::Entry,
who can tell me? thanks :P


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 07, 2008 4:15 am 
Offline
Familiar Face

Joined: Wed Apr 02, 2008 10:53 pm
Posts: 28
Hi AzureSky


I don't know how easy hard it is, I personally prefer to use GtkSpinButton
when I only want numeric, makes things easier

CofCof


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 07, 2008 4:35 am 
Offline
Familiar Face

Joined: Fri Apr 18, 2008 11:48 am
Posts: 13
Location: DongGuan,China
yes, i know GtkSpinButton can do it,
because I would like to make GUI looks the same,so I want to use Gtk::Entry. :P
but,it seems now, I still better use spinbutton :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 07, 2008 3:43 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
Your answer is the the GTK FAQ here: http://library.gnome.org/devel/gtk-faq/stable/x843.html

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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