Pmw.ComboBox label_text param causes error
Tom Good
Tom_Good1 at excite.com
Thu Mar 21 14:30:53 EST 2002
More information about the Python-list mailing list
Thu Mar 21 14:30:53 EST 2002
- Previous message (by thread): Pmw.ComboBox label_text param causes error
- Next message (by thread): #define equivalents and config files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The Pmw ComboBox sample code at: http://pmw.sourceforge.net/doc/ComboBox.html shows label_text as one of the possible keyword arguments to the constructor. However, when I use it I get the error shown below. I'd appreciate assistance in figuring out the problem. PythonWin 2.1.1 (#20, Jul 26 2001, 11:38:51) [MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com) - see 'Help/About PythonWin' for further copyright information. >>> from Tkinter import * >>> import Pmw >>> Pmw.version() '0.8.5' >>> combo = Pmw.ComboBox(None, label_text="foo") Traceback (most recent call last): File "<interactive input>", line 1, in ? File "C:\Python21\lib\Pmw\Pmw_0_8_5\lib\PmwComboBox.py", line 139, in __init__ self.initialiseoptions(ComboBox) File "C:\Python21\lib\Pmw\Pmw_0_8_5\lib\PmwBase.py", line 557, in initialiseoptions raise KeyError, text + string.join(unusedOptions, ', ') + \ KeyError: Unknown option "label_text" for ComboBox >>>
- Previous message (by thread): Pmw.ComboBox label_text param causes error
- Next message (by thread): #define equivalents and config files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list