20#ifndef __WLMTK_WINDOW2_H__
21#define __WLMTK_WINDOW2_H__
23#include <libbase/libbase.h>
26#include <wayland-server-core.h>
58 struct wl_signal state_changed;
61 struct wl_signal set_activated;
68 struct wl_signal request_close;
75 struct wl_signal request_size;
82 struct wl_signal request_fullscreen;
89 struct wl_signal request_maximized;
177 uint32_t properties);
210 struct wlr_output *wlr_output_ptr);
235 const char *title_ptr);
272 const struct wlr_box *box_ptr);
284 int width,
int height);
Definition workspace.c:48
wlmtk_window_t * wlmtk_window_from_element(wlmtk_element_t *element_ptr)
Definition window.c:309
bool wlmtk_window_is_fullscreen(wlmtk_window_t *window_ptr)
Definition window.c:560
wlmtk_window_t * wlmtk_window_create(wlmtk_element_t *content_element_ptr, const wlmtk_window_style_t *style_ptr, const wlmtk_menu_style_t *menu_style_ptr)
Definition window.c:182
struct wlr_box wlmtk_window_get_size(wlmtk_window_t *window_ptr)
Definition window.c:494
uint32_t wlmtk_window_get_resize_edges(wlmtk_window_t *window_ptr)
Definition window.c:510
void wlmtk_window_commit_maximized(wlmtk_window_t *window_ptr, bool maximized)
Definition window.c:643
void wlmtk_window_destroy(wlmtk_window_t *window_ptr)
Definition window.c:258
void wlmtk_window_request_maximized(wlmtk_window_t *window_ptr, bool maximized)
Definition window.c:595
bool wlmtk_window_is_activated(wlmtk_window_t *window_ptr)
Definition window.c:457
void wlmtk_window_request_close(wlmtk_window_t *window_ptr)
Definition window.c:516
wlmtk_menu_t * wlmtk_window_menu(wlmtk_window_t *window_ptr)
Definition window.c:728
void wlmtk_window_set_properties(wlmtk_window_t *window_ptr, uint32_t properties)
Definition window.c:338
const bs_test_case_t wlmtk_window_test_cases[]
Definition window.c:1058
void wlmtk_window_set_activated(wlmtk_window_t *window_ptr, bool activated)
Definition window.c:433
void wlmtk_window_request_minimize(wlmtk_window_t *window_ptr)
Definition window.c:523
void wlmtk_window_position_changed(wlmtk_window_t *window_ptr)
Definition window.c:328
const char * wlmtk_window_get_title(wlmtk_window_t *window_ptr)
Definition window.c:426
void wlmtk_window_request_size(wlmtk_window_t *window_ptr, const struct wlr_box *box_ptr)
Definition window.c:463
wlmtk_workspace_t * wlmtk_window_get_workspace(wlmtk_window_t *window_ptr)
Definition window.c:756
bool wlmtk_window_is_maximized(wlmtk_window_t *window_ptr)
Definition window.c:637
wlmtk_window_property_t
Definition window.h:93
@ WLMTK_WINDOW_PROPERTY_RIGHTCLICK
Definition window.h:106
@ WLMTK_WINDOW_PROPERTY_ICONIFIABLE
Definition window.h:97
@ WLMTK_WINDOW_PROPERTY_CLOSABLE
Definition window.h:99
@ WLMTK_WINDOW_PROPERTY_RESIZABLE
Definition window.h:95
void wlmtk_window_set_client(wlmtk_window_t *window_ptr, const wlmtk_util_client_t *client_ptr)
Definition window.c:349
void wlmtk_window_menu_set_enabled(wlmtk_window_t *window_ptr, bool enabled)
Definition window.c:689
struct wlr_box wlmtk_window_get_bounding_box(wlmtk_window_t *window_ptr)
Definition window.c:316
void wlmtk_window_set_server_side_decorated(wlmtk_window_t *window_ptr, bool decorated)
Definition window.c:734
wlmtk_window_events_t * wlmtk_window_events(wlmtk_window_t *window_ptr)
Definition window.c:297
wlmtk_element_t * wlmtk_window_element(wlmtk_window_t *window_ptr)
Definition window.c:303
void wlmtk_window_set_wlr_output(wlmtk_window_t *window_ptr, struct wlr_output *wlr_output_ptr)
Definition window.c:364
bs_dllist_node_t * wlmtk_dlnode_from_window(wlmtk_window_t *window_ptr)
Definition window.c:762
void wlmtk_window_request_fullscreen(wlmtk_window_t *window_ptr, bool fullscreen)
Definition window.c:529
wlmtk_window_t * wlmtk_test_window_create(wlmtk_element_t *content_element_ptr)
Definition window.c:1090
void wlmtk_window_commit_fullscreen(wlmtk_window_t *window_ptr, bool fullscreen)
Definition window.c:566
void wlmtk_window_set_resize_edges(wlmtk_window_t *window_ptr, uint32_t edges)
Definition window.c:500
bool wlmtk_window_is_shaded(wlmtk_window_t *window_ptr)
Definition window.c:683
bool wlmtk_window_set_title(wlmtk_window_t *window_ptr, const char *title_ptr)
Definition window.c:395
const wlmtk_util_client_t * wlmtk_window_get_client_ptr(wlmtk_window_t *window_ptr)
Definition window.c:357
void wlmtk_window_set_workspace(wlmtk_window_t *window_ptr, wlmtk_workspace_t *workspace_ptr)
Definition window.c:745
void wlmtk_window_commit_size(wlmtk_window_t *window_ptr, int width, int height)
Definition window.c:477
void wlmtk_window_request_shaded(wlmtk_window_t *window_ptr, bool shaded)
Definition window.c:666
wlmtk_window_t * wlmtk_window_from_dlnode(bs_dllist_node_t *dlnode_ptr)
Definition window.c:768
struct wlr_output * wlmtk_window_get_wlr_output(wlmtk_window_t *window_ptr)
Definition window.c:372