[Tutor] Query about using Pmw entry widget...

Asrarahmed Kadri ajkadri at googlemail.com
Sat Jan 6 23:23:39 CET 2007


Hello Folks,

I am using Pmw mdoule to develop a User interface and in that I am using
entry widget.

Can some one help me how to add validation : only integers are allowed and
minimum value should be 1.

timeInterval = Pmw.EntryField(label_text='Time Interval(in
sec.):',labelpos='w',validate = 'numeric')

Also I want to validate date and time? I know that there is a way to do it
but I dont know the exact syntax..

Please help with the example.

Regards,
Asrarahmed

-- 
To HIM you shall return.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070106/83cd2714/attachment.htm 


More information about the Tutor mailing list