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;
96 auto
userdata() const -> std::shared_ptr<
void>;
129 void add_child(
Window const& child);
130 void remove_child(
Window const& child);
149 std::unique_ptr<Self> self;
158 #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
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:99
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
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
auto min_aspect() const -> AspectRatio
bool has_output_id() const
friend class BasicWindowManager
Definition: window_info.h:123
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-2020
Canonical Ltd.
Generated on Thu Dec 17 06:53:45 UTC 2020
This documentation is licensed under the GPL version 2 or 3.