Re: Numerical entry in a GtkEntry widget.
- From: Havoc Pennington <hp redhat com>
- To: Deepu Roy <deepu_roy yahoo com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Numerical entry in a GtkEntry widget.
- Date: 04 Jan 2001 15:41:25 -0500
Deepu Roy <deepu_roy yahoo com> writes:
I am writing an application that requires float type inputs. Is
there any way by which I can restrict the size and the number of decimal
places. So far I've been able to restrict the entry to numbers and a
period. Would I be able to catch the backspace, delete, insert or any
other special key within the entry?
You can catch any key by connecting to key_press_event, sure.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]