gdk.toplevel_layout
Module for [ToplevelLayout] class
class ToplevelLayout
Types 1
The gdk.toplevel_layout.ToplevelLayout struct contains information that is necessary to present a sovereign window on screen.
The gdk.toplevel_layout.ToplevelLayout struct is necessary for using gdk.toplevel.Toplevel.present.
Toplevel surfaces are sovereign windows that can be presented to the user in various states (maximized, on all workspaces, etc).
Methods
gdk.toplevel_layout.ToplevelLayout copy() nothrowCreate a new [gdk.toplevel_layout.ToplevelLayout] and copy the contents of layout into it. Returns: a copy of layout.bool equal(gdk.toplevel_layout.ToplevelLayout other) nothrowCheck whether layout and other has identical layout properties.bool getFullscreen(out bool fullscreen) nothrowIf 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.gdk.monitor.MonitorWrap getFullscreenMonitor() nothrowReturns the monitor that the layout is fullscreening the surface on. Returns: the monitor on which layout fullscreensbool getMaximized(out bool maximized) nothrowIf the layout specifies whether to the toplevel should go maximized, the value pointed to by maximized is set to true if it should go fullscreen, or false, if it should go unmaximized.bool getResizable() nothrowReturns whether the layout should allow the user to resize the surface. Returns: true if the layout is resizablevoid setFullscreen(bool fullscreen, gdk.monitor.MonitorWrap monitor = null) nothrowSets whether the layout should cause the surface to be fullscreen when presented.void setMaximized(bool maximized) nothrowSets whether the layout should cause the surface to be maximized when presented.void setResizable(bool resizable) nothrowSets whether the layout should allow the user to resize the surface after it has been presented.