reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-07-23 23:25:02 +00:00
parent fe51e08c27
commit 4896ac9eff
6 changed files with 162 additions and 6 deletions

View File

@@ -1757,11 +1757,22 @@ class TextCtrl(_core.Control):
"""
HitTest(Point pt) -> (result, row, col)
Find the character at position given in pixels. NB: pt is in device
coords but is not adjusted for the client area origin nor scrolling
Find the row, col coresponding to the character at the point given in
pixels. NB: pt is in device coords but is not adjusted for the client
area origin nor scrolling.
"""
return _controls_.TextCtrl_HitTest(*args, **kwargs)
def HitTestPos(*args, **kwargs):
"""
HitTestPos(Point pt) -> (result, position)
Find the character position in the text coresponding to the point
given in pixels. NB: pt is in device coords but is not adjusted for
the client area origin nor scrolling.
"""
return _controls_.TextCtrl_HitTestPos(*args, **kwargs)
def Copy(*args, **kwargs):
"""Copy(self)"""
return _controls_.TextCtrl_Copy(*args, **kwargs)