projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
de06e41
)
getRangeExtents only has 3 arguments
author
Brad Taylor
<brad@getcoded.net>
Thu, 23 Apr 2009 09:59:19 +0000
(
05:59
-0400)
committer
Brad Taylor
<brad@getcoded.net>
Thu, 23 Apr 2009 10:00:16 +0000
(06:00 -0400)
pyatspi/text.py
patch
|
blob
|
history
diff --git
a/pyatspi/text.py
b/pyatspi/text.py
index
5a36291
..
afcb565
100644
(file)
--- a/
pyatspi/text.py
+++ b/
pyatspi/text.py
@@
-339,7
+339,7
@@
class Text(Accessible):
func = self.get_dbus_method("getOffsetAtPoint", dbus_interface=ATSPI_TEXT)
return func(x, y, coordType)
func = self.get_dbus_method("getOffsetAtPoint", dbus_interface=ATSPI_TEXT)
return func(x, y, coordType)
- def getRangeExtents(self, startOffset, endOffset,
x, y, width, height,
coordType):
+ def getRangeExtents(self, startOffset, endOffset, coordType):
"""
Obtain the bounding box which entirely contains a given text
range. Negative values may be returned for the bounding box parameters
"""
Obtain the bounding box which entirely contains a given text
range. Negative values may be returned for the bounding box parameters
@@
-368,7
+368,7
@@
class Text(Accessible):
to the corner of the containing toplevel window.
"""
func = self.get_dbus_method("getRangeExtents", dbus_interface=ATSPI_TEXT)
to the corner of the containing toplevel window.
"""
func = self.get_dbus_method("getRangeExtents", dbus_interface=ATSPI_TEXT)
- return func(startOffset, endOffset,
x, y, width, height,
coordType)
+ return func(startOffset, endOffset, coordType)
def getSelection(self, selectionNum):
"""
def getSelection(self, selectionNum):
"""