Added missing static option for OptionMenu. Issue #5961.

This commit is contained in:
Guilherme Polo 2009-08-18 16:39:36 +00:00
parent 7b50c4fa7c
commit 6f1fa214c5
1 changed files with 2 additions and 1 deletions

View File

@ -1201,7 +1201,8 @@ class OptionMenu(TixWidget):
menu Menu""" menu Menu"""
def __init__(self, master, cnf={}, **kw): def __init__(self, master, cnf={}, **kw):
TixWidget.__init__(self, master, 'tixOptionMenu', ['options'], cnf, kw) TixWidget.__init__(self, master, 'tixOptionMenu',
['labelside', 'options'], cnf, kw)
self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton') self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton')
self.subwidget_list['menu'] = _dummyMenu(self, 'menu') self.subwidget_list['menu'] = _dummyMenu(self, 'menu')