[EMAIL PROTECTED] wrote:
> I wonder if anybody could tell me how to set the length of an
> GtkEntry to "N" characters.
e = GtkEntry()
e.set_max_length(8) # Sets the length of the entry to eight characters
The GtkEntry constructor also takes an optional argument for the maximum
number of characters that appear in the entry, but the preferred way to
set the maximum length is to use the set_max_length method.
--
Michael JasonSmith http://www.cosc.canterbury.ac.nz/~mpj17/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk