wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
wlmtk_window_events_t Struct Reference

#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
 

Detailed Description

Signals available for the wlmtk_window_t class.

Member Data Documentation

◆ request_close

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.

◆ request_fullscreen

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.

◆ request_maximized

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.

◆ request_size

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.

◆ set_activated

struct wl_signal wlmtk_window_events_t::set_activated

Signals that wlmtk_window_t::activated changed.

◆ state_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).


The documentation for this struct was generated from the following file: