AGW Logo

svn SVN Revision 69147 For auibar

This file contains the SVN revision history for auibar, at revision 69147.

Available information include commit date, the name of the committer, the file size, the SVN log messages and a diff from the previous version (if available).


file_info File Information

  • Commit Date: 02-Apr-2009 10:53:15 UTC
  • Committer: AG
  • File Size: 132209 byte(s)

svn_log Log Messages

The following log message was entered by the committer:

AuiToolBar: applied patch from nagylzs, fixing bug #13489.


svn_diff Diff To Previous Version (69097)

Version SVN diff:

--- wxPython/3rdParty/AGW/agw/aui/auibar.py 2011/09/15 20:14:29     69097
+++ wxPython/3rdParty/AGW/agw/aui/auibar.py 2011/09/18 19:50:28     69147
@@ -2116,6 +2116,21 @@
return None


+    def HitTest(self, x, y):
+        """
+        Finds a tool for the given mouse position.
+
+        :param `x`: mouse `x` position;
+        :param `y`: mouse `y` position.
+
+        :returns: a pointer to a L{AuiToolBarItem} if a tool is found, or ``None`` otherwise.
+
+        :note: This method is similar to L{FindToolForPosition} but it works with absolute coordinates.
+        """
+
+        return self.FindToolForPosition(*self.ScreenToClient((x,y)))
+
+
def FindToolForPositionWithPacking(self, x, y):
"""
Finds a tool for the given mouse position, taking into account also the
Tree

Table Of Contents

Previous topic

SVN Revision 69097 For auibar

Next topic

SVN Revision 69315 For auibar