mirror of https://github.com/python/cpython
Added missing static option for OptionMenu. Issue #5961.
This commit is contained in:
parent
7b50c4fa7c
commit
6f1fa214c5
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue