Re: Numerical entry in a GtkEntry widget.



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]