Tkinter: OptionMenu question

Randall Hopper aa8vb at yahoo.com
Wed Mar 8 23:58:30 CET 2000


How do you set the font?

This:

    menu = apply( OptionMenu, ( parent, var ) + tuple( option_names ),
                  { 'font':PANEL_FONT } )

generates:

    TypeError: unexpected keyword argument: font

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list