Pmw - Sizing EntryField widget

Martin Franklin martin.franklin at bedford.waii.com
Tue Nov 21 03:43:50 EST 2000


try:

entry_width=10

or

myEntry.component('entry').config(width=10)

or


all sub-componets can be config'd this way...



Todd Lichty wrote:
> 
> Is there a way to set the size of a Pmw Entryfield widget? I tried using
> hull_size but the width is always the same. Here is my call:
> 
> self.DOB = Pmw.EntryField(master, labelpos='w', label_text='', validate
> ={...}, hull_width=5)
> 
> I tried using width instead of hull_width but it raised an exception.
> 
> Thanks,
> 
> Todd
> 
> --
> http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list