Contains information that is necessary to present a sovereign window on screen.
The <GdkToplevelLayout> struct is necessary
for using toplevel:present.
Toplevel surfaces are sovereign windows that can be presented to the user in various states (maximized, on all workspaces, etc).
Create a new <GdkToplevelLayout> and copy
the contents of self into it.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a <GdkToplevelLayout>.
a copy of self.
Check whether self and other has identical layout properties.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Passed: a <GdkToplevelLayout>.
another toplevel layout
Returned: a boolean.
true if self and other have identical layout properties, otherwise false.
If the layout specifies whether to the toplevel should go fullscreen, the value pointed to by fullscreen is set to true if it should go fullscreen, or false, if it should go unfullscreen.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a boolean.
whether the self specifies the fullscreen state for the toplevel
Returned: a boolean.
location to store whether the toplevel should be fullscreen
Returns the monitor that the layout is fullscreening the surface on.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a <GdkMonitor>, or #f.
the monitor on which self fullscreens
If the layout specifies whether to the toplevel should go maximized, the value pointed to by maximized is set to true if it should go maximized, or false, if it should go unmaximized.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a boolean.
whether the self specifies the maximized state for the toplevel
Returned: a boolean.
set to true if the toplevel should be maximized
Returns whether the layout should allow the user to resize the surface.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a boolean.
true if the layout is resizable
Create a toplevel layout description.
Used together with toplevel:present to
describe how a toplevel surface should be placed and behave on-screen.
The size is in ”application pixels”, not ”device pixels” (see
surface:get-scale).
Returned: a <GdkToplevelLayout>.
newly created instance of
<GdkToplevelLayout>
Increases the reference count of self.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Returned: a <GdkToplevelLayout>.
the same self
Sets whether the layout should cause the surface to be fullscreen when presented.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Passed: a boolean.
true to fullscreen the surface
Passed, or left out: a <GdkMonitor>, or #f.
the monitor to fullscreen on
Sets whether the layout should cause the surface to be maximized when presented.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Passed: a boolean.
true to maximize
Sets whether the layout should allow the user to resize the surface after it has been presented.
Passed: a <GdkToplevelLayout>.
a toplevel layout
Passed: a boolean.
true to allow resizing
Decreases the reference count of self.
Passed: a <GdkToplevelLayout>.
a toplevel layout