package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Grid_layout/index.html
Module Wrappers.Grid_layout
type t = [ `grid_layout | `layout_manager | `object_ ] Gobject.objval new_ : unit -> tCreate a new GridLayout
val set_row_spacing : t -> int -> unitSets the amount of space to insert between consecutive rows.
val set_row_homogeneous : t -> bool -> unitSets whether all rows of @grid should have the same height.
val set_row_baseline_position : t -> int -> Gtk_enums.baselineposition -> unitSets how the baseline should be positioned on @row of the grid, in case that row is assigned more space than is requested.
val set_column_spacing : t -> int -> unitSets the amount of space to insert between consecutive columns.
val set_column_homogeneous : t -> bool -> unitSets whether all columns of @grid should have the same width.
val set_baseline_row : t -> int -> unitSets which row defines the global baseline for the entire grid.
Each row in the grid can have its own local baseline, but only one of those is global, meaning it will be the baseline in the parent of the @grid.
val get_row_spacing : t -> intRetrieves the spacing set with gtk_grid_layout_set_row_spacing().
val get_row_homogeneous : t -> boolChecks whether all rows of @grid should have the same height.
val get_row_baseline_position : t -> int -> Gtk_enums.baselinepositionReturns the baseline position of @row.
If no value has been set with method@Gtk.GridLayout.set_row_baseline_position, the default value of %GTK_BASELINE_POSITION_CENTER is returned.
val get_column_spacing : t -> intRetrieves the spacing set with gtk_grid_layout_set_column_spacing().
val get_column_homogeneous : t -> boolChecks whether all columns of @grid should have the same width.
val get_baseline_row : t -> intRetrieves the row set with gtk_grid_layout_set_baseline_row().