hyprland_toplevel_mapping_manager_v1¤
wayland.hyprland_toplevel_mapping_manager_v1 ¤
Manager to request toplevel mappings
This object is a manager which offers requests to retrieve a window address for a toplevel.
Methods:
-
get_window_for_toplevel–Get window address for toplevel
-
get_window_for_toplevel_wlr–Get window address for wlr toplevel
-
destroy–Destroy the manager
get_window_for_toplevel ¤
get_window_for_toplevel(
toplevel: ext_foreign_toplevel_handle_v1,
) -> hyprland_toplevel_window_mapping_handle_v1
Get window address for toplevel
Get the window address for a toplevel.
Parameters:
-
(toplevel¤ext_foreign_toplevel_handle_v1) –Toplevel to get the window address for
Returns:
-
hyprland_toplevel_window_mapping_handle_v1(hyprland_toplevel_window_mapping_handle_v1) –The created object
get_window_for_toplevel_wlr ¤
get_window_for_toplevel_wlr(
toplevel: zwlr_foreign_toplevel_handle_v1,
) -> hyprland_toplevel_window_mapping_handle_v1
Get window address for wlr toplevel
Get the window address for a wlr toplevel.
Parameters:
-
(toplevel¤zwlr_foreign_toplevel_handle_v1) –Wlr toplevel to get the window address for
Returns:
-
hyprland_toplevel_window_mapping_handle_v1(hyprland_toplevel_window_mapping_handle_v1) –The created object
destroy ¤
destroy() -> None
Destroy the manager
All objects created by the manager will still remain valid, until their appropriate destroy request has been called.