From 7b50c4fa7c2941047754d6dd33716b9f36fd31b0 Mon Sep 17 00:00:00 2001 From: Guilherme Polo Date: Tue, 18 Aug 2009 14:46:57 +0000 Subject: [PATCH] Issue #1356969: Add missing info methods in Tix.HList. --- Lib/lib-tk/Tix.py | 10 ++++++++++ Misc/NEWS | 2 ++ 2 files changed, 12 insertions(+) diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py index ce5a379d62..d69fb3a104 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 4d6e9721fb..8977e19abd 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. -- 2.50.1