Handle class for MirWindowSpec - provides automatic reference counting, method chaining.
More...
|
| WindowSpec (MirWindowSpec *spec) |
|
auto | set_type (MirWindowType type) -> WindowSpec & |
|
auto | set_shell_chrome (MirShellChrome chrome) -> WindowSpec & |
|
auto | set_min_size (int min_width, int min_height) -> WindowSpec & |
|
auto | set_max_size (int max_width, int max_height) -> WindowSpec & |
|
auto | set_size_inc (int width_inc, int height_inc) -> WindowSpec & |
|
auto | set_size (int width, int height) -> WindowSpec & |
|
auto | set_name (char const *name) -> WindowSpec & |
|
auto | set_event_handler (MirWindowEventCallback callback, void *context) -> WindowSpec & |
|
auto | set_fullscreen_on_output (uint32_t output_id) -> WindowSpec & |
|
auto | set_placement (const MirRectangle *rect, MirPlacementGravity rect_gravity, MirPlacementGravity surface_gravity, MirPlacementHints placement_hints, int offset_dx, int offset_dy) -> WindowSpec & |
|
auto | set_parent (MirWindow *parent) -> WindowSpec & |
|
auto | set_state (MirWindowState state) -> WindowSpec & |
|
auto | add_surface (MirRenderSurface *surface, int width, int height, int displacement_x, int displacement_y) -> WindowSpec & |
|
template<typename Context > |
void | create_window (void(*callback)(MirWindow *, Context *), Context *context) const |
|
auto | create_window () const -> Window |
|
void | apply_to (MirWindow *window) const |
|
| operator MirWindowSpec * () const |
|
|
static auto | for_normal_window (MirConnection *connection, int width, int height) -> WindowSpec |
|
static auto | for_menu (MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) -> WindowSpec |
|
static auto | for_tip (MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) -> WindowSpec |
|
static auto | for_dialog (MirConnection *connection, int width, int height) -> WindowSpec |
|
static auto | for_dialog (MirConnection *connection, int width, int height, MirWindow *parent) -> WindowSpec |
|
static auto | for_input_method (MirConnection *connection, int width, int height, MirWindow *parent) |
|
static auto | for_satellite (MirConnection *connection, int width, int height, MirWindow *parent) |
|
static auto | for_gloss (MirConnection *connection, int width, int height) |
|
static auto | for_changes (MirConnection *connection) -> WindowSpec |
|
Handle class for MirWindowSpec - provides automatic reference counting, method chaining.