summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Polo <ggpolo@gmail.com>2009-08-18 14:46:57 (GMT)
committerGuilherme Polo <ggpolo@gmail.com>2009-08-18 14:46:57 (GMT)
commit7b50c4fa7c2941047754d6dd33716b9f36fd31b0 (patch)
tree1728b4133864cdf949d1638ac85fb0307d63d183
parent56366cc6eb287e16a5ac974427aa9f4863ddddae (diff)
downloadcpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.zip
cpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.tar.gz
cpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.tar.bz2
Issue #1356969: Add missing info methods in Tix.HList.
-rwxr-xr-xLib/lib-tk/Tix.py10
-rw-r--r--Misc/NEWS2
2 files changed, 12 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
index ce5a379..d69fb3a 100755
--- a/Lib/lib-tk/Tix.py
+++ b/Lib/lib-tk/Tix.py
@@ -976,6 +976,10 @@ class HList(TixWidget, XView, YView):
def info_anchor(self):
return self.tk.call(self._w, 'info', 'anchor')
+ def info_bbox(self, entry):
+ return self._getints(
+ self.tk.call(self._w, 'info', 'bbox', entry)) or None
+
def info_children(self, entry=None):
c = self.tk.call(self._w, 'info', 'children', entry)
return self.tk.splitlist(c)
@@ -983,6 +987,12 @@ class HList(TixWidget, XView, YView):
def info_data(self, entry):
return self.tk.call(self._w, 'info', 'data', entry)
+ def info_dragsite(self):
+ return self.tk.call(self._w, 'info', 'dragsite')
+
+ def info_dropsite(self):
+ return self.tk.call(self._w, 'info', 'dropsite')
+
def info_exists(self, entry):
return self.tk.call(self._w, 'info', 'exists', entry)
diff --git a/Misc/NEWS b/Misc/NEWS
index 4d6e972..8977e19 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -359,6 +359,8 @@ Core and Builtins
Library
-------
+- Issue #1356969: Add missing info methods in Tix.HList.
+
- Issue #1522587: New constants and methods for the Tix.Grid widget.
- Issue #1250469: Fix the return value of Tix.PanedWindow.panes.