Atspi.set_reference_window
Description: Reference for Atspi.set_reference_window

### Function

# Atspiset_reference_window

#### Declaration [src]

    void
    atspi_set_reference_window (
      AtspiAccessible* accessible
    )

#### Description [src]

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`

  Type: `AtspiAccessible`

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

  The data is owned by the caller of the function.