I have a GtkEntry in my app where the only thing I want to be able to
input is numbers. I don't want letters or characters like (, * , -, ),
and so forth.
Anyone know how to write such an input filter?
--
.''`. Carl B. Constantine
: :' : [EMAIL PROTECTED]
`. `'GnuPG: 135F FC30
Carl B. Constantine [EMAIL PROTECTED] writes:
I have a GtkEntry in my app where the only thing I want to be able to
input is numbers. I don't want letters or characters like (, * , -, ),
and so forth.
Anyone know how to write such an input filter?
Add a signal handler for focus_out_event,
Carl B. Constantine [EMAIL PROTECTED] writes:
I have a GtkEntry in my app where the only thing I want to be able to
input is numbers. I don't want letters or characters like (, * , -, ),
and so forth.
Anyone know how to write such an input filter?
Here's one I prepared earlier. You can use