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;
115 auto
userdata() const -> std::shared_ptr<
void>;
151 std::unique_ptr<Self> self;
160 #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:29
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:118
auto output_id() const -> int
Definition: window_specification.h:61
Definition: window_specification.h:43
auto shell_chrome() const -> MirShellChrome
Definition: rectangle.h:33
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:37
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 &
auto min_width() const -> mir::geometry::Width
auto min_aspect() const -> AspectRatio
bool has_output_id() const
auto clip_area() const -> mir::optional_value< mir::geometry::Rectangle >
Mir will not render anything outside this rectangle.
void add_child(Window const &child)
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:32
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_...
void remove_child(Window const &child)
Copyright © 2012-2022
Canonical Ltd.
Generated on Fri Dec 9 06:40:35 UTC 2022
This documentation is licensed under the GPL version 2 or 3.