Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » Only numeric chars for GtkEntry [RSS Feed]

#1 Oct. 28, 2005 20:55:43

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Only numeric chars for GtkEntry


Hi,

is there a way to input only numeric characters in GtkEntry? Example: if I
press 'a' or 'b' or ' ' or '?' etc., they are not printed, but 0-9.

Thanks,
Giulio
_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#2 Oct. 29, 2005 08:09:38

antonio g.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Only numeric chars for GtkEntry


> is there a way to input only numeric characters in GtkEntry? Example: if I
> press 'a' or 'b' or ' ' or '?' etc., they are not printed, but 0-9.

Hi,

I've solved from gtk FAQ, sorry.

bye
Giulio
_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

  • Root
  • » GTK+
  • » Only numeric chars for GtkEntry [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support