]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #1356969: Add missing info methods in Tix.HList.
authorGuilherme Polo <ggpolo@gmail.com>
Tue, 18 Aug 2009 14:46:57 +0000 (14:46 +0000)
committerGuilherme Polo <ggpolo@gmail.com>
Tue, 18 Aug 2009 14:46:57 +0000 (14:46 +0000)
Lib/lib-tk/Tix.py
Misc/NEWS

index ce5a379d628431d4c81d34cdd8262ff70fe086e6..d69fb3a104fd1455b41aeb6b0a496d4e684e7e5a 100755 (executable)
@@ -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)
 
index 4d6e9721fb84c55627aa1dddfca54d33550d450d..8977e19abdb6f38da406df88415a9830a4b35d12 100644 (file)
--- 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.