|
wlmaker
|
#include <window.h>
Public Attributes | |
| struct wl_signal | state_changed |
| struct wl_signal | set_activated |
| struct wl_signal | request_close |
| struct wl_signal | request_size |
| struct wl_signal | request_fullscreen |
| struct wl_signal | request_maximized |
Signals available for the wlmtk_window_t class.
| struct wl_signal wlmtk_window_events_t::request_close |
Signals that the window was requested to be closed.
Applies only to windows with WLMTK_WINDOW_PROPERTY_CLOSABLE.
| struct wl_signal wlmtk_window_events_t::request_fullscreen |
Signals that the window is desiring to switch to fullscreen.
Takes a bool as argument, specifying whether to enable fullscreen.
| struct wl_signal wlmtk_window_events_t::request_maximized |
Signals that the window is desiring to switch to maximized.
Takes a bool as argument, specifying whether to enable maximized.
| struct wl_signal wlmtk_window_events_t::request_size |
Signals that the window's size is requested to change.
Takes a struct wlr_box* as argument.
| struct wl_signal wlmtk_window_events_t::set_activated |
Signals that wlmtk_window_t::activated changed.
| struct wl_signal wlmtk_window_events_t::state_changed |
Signals that the window state (maximize, iconify, ...) changed.
Window state can be retrieved from:
The signal is also raised when the window's workspace is changed. Retrieve through wlmtk_window_get_workspace.
data_ptr points to the window state (wlmtk_window_t).