package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Constraint_guide/index.html
Module Wrappers.Constraint_guide
type t = [ `constraint_guide | `object_ ] Gobject.objval new_ : unit -> tCreate a new ConstraintGuide
val set_strength : t -> Gtk_enums.constraintstrength -> unitSets the strength of the constraint on the natural size of the given `GtkConstraintGuide`.
val set_nat_size : t -> int -> int -> unitSets the natural size of @guide.
If @guide is attached to a `GtkConstraintLayout`, the constraints will be updated to reflect the new size.
val set_name : t -> string option -> unitSets a name for the given `GtkConstraintGuide`.
The name is useful for debugging purposes.
val set_min_size : t -> int -> int -> unitSets the minimum size of @guide.
If @guide is attached to a `GtkConstraintLayout`, the constraints will be updated to reflect the new size.
val set_max_size : t -> int -> int -> unitSets the maximum size of @guide.
If @guide is attached to a `GtkConstraintLayout`, the constraints will be updated to reflect the new size.
val get_strength : t -> Gtk_enums.constraintstrengthRetrieves the strength set using gtk_constraint_guide_set_strength().
val get_nat_size : t -> int * intGets the natural size of @guide.
val get_name : t -> string optionRetrieves the name set using gtk_constraint_guide_set_name().
val get_min_size : t -> int * intGets the minimum size of @guide.
val get_max_size : t -> int * intGets the maximum size of @guide.
val get_max_height : t -> intGet property: max-height
val set_max_height : t -> int -> unitSet property: max-height
val get_max_width : t -> intGet property: max-width
val set_max_width : t -> int -> unitSet property: max-width
val get_min_height : t -> intGet property: min-height
val set_min_height : t -> int -> unitSet property: min-height
val get_min_width : t -> intGet property: min-width
val set_min_width : t -> int -> unitSet property: min-width
val get_nat_height : t -> intGet property: nat-height
val set_nat_height : t -> int -> unitSet property: nat-height
val get_nat_width : t -> intGet property: nat-width
val set_nat_width : t -> int -> unitSet property: nat-width