window API
There are three different implementations of the “window” class, one for GNOME/Wayland environments, one for KDE/Wayland environments, one for X11.
- window API implementation for GNOME/Wayland environments
WindowWindow.activate()Window.center_window()Window.close()Window.get_active_class()Window.get_active_geometry()Window.get_active_title()Window.get_window_geometry()Window.get_window_hex()Window.get_window_list()Window.move_to_desktop()Window.resize_move()Window.set_property()Window.switch_desktop()Window.wait_for_exist()Window.wait_for_focus()
- window API implementation for KDE/Wayland environments
WindowWindow.activate()Window.center_window()Window.close()Window.get_active_class()Window.get_active_geometry()Window.get_active_title()Window.get_window_geometry()Window.get_window_hex()Window.get_window_list()Window.move_to_desktop()Window.resize_move()Window.set_property()Window.switch_desktop()Window.wait_for_exist()Window.wait_for_focus()
- window API implementation for X11 environments
WindowWindow.activate()Window.center_window()Window.close()Window.get_active_class()Window.get_active_geometry()Window.get_active_title()Window.get_window_geometry()Window.get_window_hex()Window.get_window_list()Window.move_to_desktop()Window.resize_move()Window.set_property()Window.switch_desktop()Window.wait_for_exist()Window.wait_for_focus()