[Gtk-sharp-list] Gtk entry only for digits?

Michael 26031@t-link.de
Sun, 29 Aug 2004 08:56:44 +0200


Hi all,

does anybody know how to modify a Entry that only numbers can be typed
in?
Like a SpinButton with the Numeric flag set, but without the Lower and
Upper Arrow keys.

I played with the KeyPressEventArgs to get the Key Codes from the
keyboard. But even that seems not to work for numbers. Only for Function
Keys, esc, etc. 

Thanks for your help

Michael