Go to the documentation of this file.
19 #ifndef MIRAL_WINDOW_INFO_H
20 #define MIRAL_WINDOW_INFO_H
58 auto
name() const -> std::
string;
139 void add_child(
Window const& child);
140 void remove_child(
Window const& child);
159 std::unique_ptr<Self> self;
168 #endif //MIRAL_WINDOW_INFO_H
auto max_width() const -> mir::geometry::Width
auto name() const -> std::string
auto preferred_orientation() const -> MirOrientationMode
Mir Abstraction Layer.
Definition: floating_window_manager.h:31
bool must_not_have_parent() const
void constrain_resize(mir::geometry::Point &requested_pos, mir::geometry::Size &requested_size) const
auto max_height() const -> mir::geometry::Height
bool can_morph_to(MirWindowType new_type) const
bool can_be_active() const
Definition: dimensions.h:36
auto window() const -> Window &
auto application_id() const -> std::string
The D-bus service name and basename of the app's .desktop file See http://standards....
auto confine_pointer() const -> MirPointerConfinementState
void swap(WindowInfo &rhs)
Definition: window_info.h:109
auto output_id() const -> int
Definition: window_specification.h:52
Definition: window_specification.h:44
auto shell_chrome() const -> MirShellChrome
Definition: rectangle.h:34
auto max_aspect() const -> AspectRatio
auto depth_layer() const -> MirDepthLayer
auto restore_rect() const -> mir::geometry::Rectangle
Handle class to manage a Mir surface. It may be null (e.g. default initialized)
Definition: window.h:38
WindowInfo(WindowInfo const &that)
Definition: splash_session.h:24
auto width_inc() const -> mir::geometry::DeltaX
These control the size increments of the window. This is used in cases like a terminal that can only ...
static bool needs_titlebar(MirWindowType type)
auto parent() const -> Window
auto height_inc() const -> mir::geometry::DeltaY
auto children() const -> std::vector< Window > const &
WindowInfo(Window const &window, WindowSpecification const ¶ms)
auto min_width() const -> mir::geometry::Width
These constrain the sizes a window may be resized to (both interactively and pragmatically)....
auto min_aspect() const -> AspectRatio
These constrain the possible aspect ratio of the window. Current Wayland protocols to not support thi...
bool has_output_id() const
friend class BasicWindowManager
Definition: window_info.h:133
auto clip_area() const -> mir::optional_value< mir::geometry::Rectangle >
Mir will not render anything outside this rectangle.
auto exclusive_rect() const -> mir::optional_value< mir::geometry::Rectangle >
Mir will try to avoid occluding the area covered by this rectangle (relative to the window) (only mea...
Definition: window_info.h:33
bool must_have_parent() const
auto type() const -> MirWindowType
WindowInfo & operator=(WindowInfo const &that)
auto min_height() const -> mir::geometry::Height
auto userdata() const -> std::shared_ptr< void >
This can be used by client code to store window manager specific information.
auto state() const -> MirWindowState
auto attached_edges() const -> MirPlacementGravity
Get the edges of the output that the window is attached to (only meaningful for windows in state mir_...
Copyright © 2012-2021
Canonical Ltd.
Generated on Thu Jun 24 19:55:23 UTC 2021
This documentation is licensed under the GPL version 2 or 3.