Pmw.ComboBox

G

Gombos Katalin

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
 
E

Eric Brunel

Gombos said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,915
Members
47,456
Latest member
JavierWalp

Latest Threads

Top