package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gdk/Ocgtk_gdk/Gdk/Wrappers/Toplevel_layout/index.html
Module Wrappers.Toplevel_layout
type t = [ `toplevel_layout ] Gobject.objThe `GdkToplevelLayout` struct contains information that is necessary to present a sovereign window on screen.
The `GdkToplevelLayout` struct is necessary for using method@Gdk.Toplevel.present.
Toplevel surfaces are sovereign windows that can be presented to the user in various states (maximized, on all workspaces, etc).
val new_ : unit -> tCreate a new ToplevelLayout
val set_resizable : t -> bool -> unitSets whether the layout should allow the user to resize the surface after it has been presented.
val set_maximized : t -> bool -> unitSets whether the layout should cause the surface to be maximized when presented.
val set_fullscreen :
t ->
bool ->
[ `monitor | `object_ ] Gobject.obj option ->
unitSets whether the layout should cause the surface to be fullscreen when presented.
val get_resizable : t -> boolReturns whether the layout should allow the user to resize the surface.
val get_maximized : t -> bool * boolIf 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.
val get_fullscreen_monitor : t -> [ `monitor | `object_ ] Gobject.obj optionReturns the monitor that the layout is fullscreening the surface on.
val get_fullscreen : t -> bool * boolIf 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.
val get_type : unit -> Gobject.Type.t