set_reference_window


Description:


public void set_reference_window (Accessible accessible)

Sets the reference window that will be used when atspi_generate_mouse_event is called.

Coordinates will be assumed to be relative to this window. This is needed because, due to Wayland's security model, it is not currently possible to retrieve global coordinates. If NULL is passed, then AT-SPI will use the window that has focus at the time that atspi_generate_mouse_event is called.

Parameters:

accessible

the Accessible corresponding to the window to select. should be a top-level window with a role of ATSPI_ROLE_APPLICATION.


Namespace: Atspi
Package: atspi-2