package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Box_layout/index.html
Module Wrappers.Box_layout
type t = [ `box_layout | `layout_manager | `object_ ] Gobject.objval new_ : Gtk_enums.orientation -> tCreate a new BoxLayout
val set_spacing : t -> int -> unitSets how much spacing to put between children.
val set_homogeneous : t -> bool -> unitSets whether the box layout will allocate the same size to all children.
val set_baseline_position : t -> Gtk_enums.baselineposition -> unitSets the baseline position of a box layout.
The baseline position affects only horizontal boxes with at least one baseline aligned child. If there is more vertical space available than requested, and the baseline is not allocated by the parent then the given @position is used to allocate the baseline within the extra space available.
val set_baseline_child : t -> int -> unitSets the index of the child that determines the baseline in vertical layout.
val get_spacing : t -> intReturns the space that @box_layout puts between children.
val get_homogeneous : t -> boolReturns whether the layout is set to be homogeneous.
val get_baseline_position : t -> Gtk_enums.baselinepositionGets the value set by gtk_box_layout_set_baseline_position().
val get_baseline_child : t -> intGets the value set by gtk_box_layout_set_baseline_child().