package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Center_layout/index.html
Module Wrappers.Center_layout
type t = [ `center_layout | `layout_manager | `object_ ] Gobject.objval new_ : unit -> tCreate a new CenterLayout
val set_start_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the new start widget of @self.
To remove the existing start widget, pass %NULL.
val set_shrink_center_last : t -> bool -> unitSets whether to shrink the center widget after other children.
By default, when there's no space to give all three children their natural widths, the start and end widgets start shrinking and the center child keeps natural width until they reach minimum width.
If set to `FALSE`, start and end widgets keep natural width and the center widget starts shrinking instead.
val set_orientation : t -> Gtk_enums.orientation -> unitSets the orientation of @self.
val set_end_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the new end widget of @self.
To remove the existing center widget, pass %NULL.
val set_center_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the new center widget of @self.
To remove the existing center widget, pass %NULL.
val set_baseline_position : t -> Gtk_enums.baselineposition -> unitSets the new baseline position of @self
val get_start_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionReturns the start widget of the layout.
val get_shrink_center_last : t -> boolGets whether @self shrinks the center widget after other children.
val get_orientation : t -> Gtk_enums.orientationGets the current orienration of the layout manager.
val get_end_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionReturns the end widget of the layout.
val get_center_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionReturns the center widget of the layout.
val get_baseline_position : t -> Gtk_enums.baselinepositionReturns the baseline position of the layout.