mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Issue #1250469: Fix the return value of Tix.PanedWindow.panes.
This commit is contained in:
parent
d3e6e4bb8f
commit
6c823f8720
2 changed files with 4 additions and 5 deletions
|
@ -1235,11 +1235,8 @@ class PanedWindow(TixWidget):
|
||||||
self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
|
self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
|
||||||
|
|
||||||
def panes(self):
|
def panes(self):
|
||||||
names = self.tk.call(self._w, 'panes')
|
names = self.tk.splitlist(self.tk.call(self._w, 'panes'))
|
||||||
ret = []
|
return [self.subwidget(x) for x in names]
|
||||||
for x in names:
|
|
||||||
ret.append(self.subwidget(x))
|
|
||||||
return ret
|
|
||||||
|
|
||||||
class PopupMenu(TixWidget):
|
class PopupMenu(TixWidget):
|
||||||
"""PopupMenu widget can be used as a replacement of the tk_popup command.
|
"""PopupMenu widget can be used as a replacement of the tk_popup command.
|
||||||
|
|
|
@ -359,6 +359,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #1250469: Fix the return value of Tix.PanedWindow.panes.
|
||||||
|
|
||||||
- Issue #1119673: Do not override Tkinter.Text methods when creating a
|
- Issue #1119673: Do not override Tkinter.Text methods when creating a
|
||||||
ScrolledText.
|
ScrolledText.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue