Issue #1356969: Add missing info methods in Tix.HList.

This commit is contained in:
Guilherme Polo 2009-08-18 14:46:57 +00:00
parent 56366cc6eb
commit 7b50c4fa7c
2 changed files with 12 additions and 0 deletions

View File

@ -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)

View File

@ -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.