package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Window_controls/index.html
Module Wrappers.Window_controls
type t =
[ `window_controls | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : Gtk_enums.packtype -> tCreate a new WindowControls
val set_side : t -> Gtk_enums.packtype -> unitDetermines which part of decoration layout the `GtkWindowControls` uses.
See property@Gtk.WindowControls:decoration-layout.
val set_decoration_layout : t -> string option -> unitSets the decoration layout for the title buttons.
This overrides the property@Gtk.Settings:gtk-decoration-layout setting.
The format of the string is button names, separated by commas. A colon separates the buttons that should appear on the left from those on the right. Recognized button names are minimize, maximize, close and icon (the window icon).
For example, “icon:minimize,maximize,close” specifies a icon on the left, and minimize, maximize and close buttons on the right.
If property@Gtk.WindowControls:side value is @GTK_PACK_START, @self will display the part before the colon, otherwise after that.
val get_side : t -> Gtk_enums.packtypeGets the side to which this `GtkWindowControls` instance belongs.
val get_empty : t -> boolGets whether the widget has any window buttons.
val get_decoration_layout : t -> string optionGets the decoration layout of this `GtkWindowControls`.