|
|
| Author |
Message |
|
|
AzureSky
Joined: 18 Apr 2008 Posts: 3 Location: DongGuan,China
|
Posted: Tue May 06, 2008 11:36 am Post subject: How can only input numeric in Gtk::Entry(gtkmm) |
|
|
How can only input numeric in Gtk::Entry,
who can tell me? thanks :P |
|
| Back to top |
|
 |
cofcof Familiar Face
Joined: 02 Apr 2008 Posts: 16
|
Posted: Wed May 07, 2008 4:15 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
AzureSky
Joined: 18 Apr 2008 Posts: 3 Location: DongGuan,China
|
Posted: Wed May 07, 2008 4:35 am Post subject: |
|
|
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: |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 427 Location: Portland, OR USA
|
|
| Back to top |
|
 |
|