Pmw.ComboBox

Eric Brunel eric.brunel at pragmadev.N0SP4M.com
Mon Oct 20 08:28:18 EDT 2003


Gombos Katalin wrote:
> Pmw.ComboBox()
> v = Pmw.ComboBox(self.f1,label_text=t,
> 		labelpos='w',
> 		labelmargin=3,
> 		label_background=ke,
> 		selectioncommand=csere,
> 		scrolledlist_items=w)
> 
> my problems are:
> 
> How could I change the font type and size of label_text and
> scrolled_list items?
> 
> Thanks in advance!
> 
> Katalin

Use options label_font and listbox_font:

v = Pmw.ComboBox(self.f1,label_text=t,
                 labelpos='w',
                 labelmargin=3,
                 label_background=ke,
                 label_font=('courier', 14),
                 selectioncommand=csere,
                 scrolledlist_items=w,
                 listbox_font=('times' 24))

HTH
-- 
- Eric Brunel <eric dot brunel at pragmadev dot com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com





More information about the Python-list mailing list