Skip to content

hyprland_toplevel_window_mapping_handle_v1¤

wayland.hyprland_toplevel_window_mapping_handle_v1 ¤

Toplevel to window mapping

This object represents a mapping of a (wlr) toplevel to a window address.

Once created, the window_address event will be sent containing the address of the window associated with the toplevel. Should the mapping fail, the failed event will be sent.

Methods:

events

window_address ¤

window_address(address_hi: int, address: int) -> None

Address of the window

The full 64bit window address. The address field contains the lower 32 bits whilst the address_hi contains the upper 32 bits

Parameters:

  • address_hi ¤

    (int) –

    Upper 32 bits of the window address

  • address ¤

    (int) –

    Lower 32 bits of the window address

failed ¤

failed() -> None

Mapping failed

The mapping of the toplevel to a window address failed. Most likely the window does not exist (anymore).

destroy ¤

destroy() -> None

Destroy handle

Destroy the handle. This request can be sent at any time by the client.

on_window_address ¤

on_window_address(address_hi: int, address: int) -> None

on_failed ¤

on_failed() -> None