[Python-checkins] r74517 - in python/trunk: Lib/lib-tk/Tix.py Misc/NEWS

guilherme.polo python-checkins at python.org
Tue Aug 18 16:46:58 CEST 2009


Author: guilherme.polo
Date: Tue Aug 18 16:46:57 2009
New Revision: 74517
Log:
Issue #1356969: Add missing info methods in Tix.HList.
Modified:
 python/trunk/Lib/lib-tk/Tix.py
 python/trunk/Misc/NEWS
Modified: python/trunk/Lib/lib-tk/Tix.py
==============================================================================
--- python/trunk/Lib/lib-tk/Tix.py	(original)
+++ python/trunk/Lib/lib-tk/Tix.py	Tue Aug 18 16:46:57 2009
@@ -976,6 +976,10 @@
 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 @@
 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)
 
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Aug 18 16:46:57 2009
@@ -359,6 +359,8 @@
 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /