Go to the documentation of this file.
19 #ifndef MIR_CLIENT_WINDOW_SPEC_H
20 #define MIR_CLIENT_WINDOW_SPEC_H
81 return for_dialog(connection, width, height).set_parent(parent);
194 template<
typename Context>
214 std::shared_ptr<MirWindowSpec>
self;
222 #endif //MIRAL_TOOLKIT_WINDOW_SPEC_H_H
auto set_state(MirWindowState state) -> WindowSpec &
Definition: window_spec.h:181
auto set_placement(const MirRectangle *rect, MirPlacementGravity rect_gravity, MirPlacementGravity surface_gravity, MirPlacementHints placement_hints, int offset_dx, int offset_dy) -> WindowSpec &
Definition: window_spec.h:164
static auto for_normal_window(MirConnection *connection, int width, int height) -> WindowSpec
Definition: window_spec.h:41
auto set_shell_chrome(MirShellChrome chrome) -> WindowSpec &
Definition: window_spec.h:112
static auto for_menu(MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) -> WindowSpec
Definition: window_spec.h:46
auto set_name(char const *name) -> WindowSpec &
Definition: window_spec.h:146
auto set_parent(MirWindow *parent) -> WindowSpec &
Definition: window_spec.h:175
void apply_to(MirWindow *window) const
Definition: window_spec.h:205
auto set_size_inc(int width_inc, int height_inc) -> WindowSpec &
Definition: window_spec.h:132
auto add_surface(MirRenderSurface *surface, int width, int height, int displacement_x, int displacement_y) -> WindowSpec &
Definition: window_spec.h:187
auto set_event_handler(MirWindowEventCallback callback, void *context) -> WindowSpec &
Definition: window_spec.h:152
Handle class for MirWindow - provides automatic reference counting.
Definition: window.h:32
Definition: splash_session.h:24
auto set_size(int width, int height) -> WindowSpec &
Definition: window_spec.h:139
static auto for_tip(MirConnection *connection, int width, int height, MirWindow *parent, MirRectangle *rect, MirEdgeAttachment edge) -> WindowSpec
Definition: window_spec.h:57
void create_window(void(*callback)(MirWindow *, Context *), Context *context) const
Definition: window_spec.h:195
static auto for_gloss(MirConnection *connection, int width, int height)
Definition: window_spec.h:96
WindowSpec(MirWindowSpec *spec)
Definition: window_spec.h:39
static auto for_dialog(MirConnection *connection, int width, int height) -> WindowSpec
Definition: window_spec.h:68
auto set_max_size(int max_width, int max_height) -> WindowSpec &
Definition: window_spec.h:125
static auto for_input_method(MirConnection *connection, int width, int height, MirWindow *parent)
Definition: window_spec.h:84
static auto for_changes(MirConnection *connection) -> WindowSpec
Definition: window_spec.h:101
static auto for_satellite(MirConnection *connection, int width, int height, MirWindow *parent)
Definition: window_spec.h:91
void mir_window_spec_release(WindowSpec const &spec)=delete
auto set_min_size(int min_width, int min_height) -> WindowSpec &
Definition: window_spec.h:118
auto create_window() const -> Window
Definition: window_spec.h:200
auto set_fullscreen_on_output(uint32_t output_id) -> WindowSpec &
Definition: window_spec.h:158
Definition: client_types.h:345
static auto for_dialog(MirConnection *connection, int width, int height, MirWindow *parent) -> WindowSpec
Definition: window_spec.h:76
auto set_type(MirWindowType type) -> WindowSpec &
Definition: window_spec.h:106
Handle class for MirWindowSpec - provides automatic reference counting, method chaining.
Definition: window_spec.h:37
Copyright © 2012-2020
Canonical Ltd.
Generated on Thu Dec 17 06:53:45 UTC 2020
This documentation is licensed under the GPL version 2 or 3.