summaryrefslogtreecommitdiffstats
path: root/Lib
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 /Lib
parent56366cc6eb287e16a5ac974427aa9f4863ddddae (diff)
downloadcpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.zip
cpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.tar.gz
cpython-7b50c4fa7c2941047754d6dd33716b9f36fd31b0.tar.bz2
Issue #1356969: Add missing info methods in Tix.HList.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/lib-tk/Tix.py10
1 files changed, 10 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)