from factory import accessible_factory
from accessible import BoundingBox
+from dbus.types import UInt32
+
__all__ = [
"Image",
]
@return a BoundingBox enclosing the image's onscreen representation.
"""
func = self.get_dbus_method("getImageExtents", dbus_interface=ATSPI_IMAGE)
- return BoundingBox(*func(dbus.Int16(coordType)))
+ return BoundingBox(*func(UInt32(coordType)))
def getImagePosition(self, coord_type):
"""
window.
"""
func = self.get_dbus_method("getImagePosition", dbus_interface=ATSPI_IMAGE)
- return func(coord_type)
+ return func(UInt32(coord_type))
def getImageSize(self):
"""