package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Frame/index.html
Module Wrappers.Frame
type t = [ `frame | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : string option -> tCreate a new Frame
val set_label_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the label widget for the frame.
This is the widget that will appear embedded in the top edge of the frame as a title.
val set_label_align : t -> float -> unitSets the X alignment of the frame widget’s label.
The default value for a newly created frame is 0.0.
val set_label : t -> string option -> unitCreates a new `GtkLabel` with the @label and sets it as the frame's label widget.
val set_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the child widget of @frame.
val get_label_widget :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionRetrieves the label widget for the frame.
val get_label_align : t -> floatRetrieves the X alignment of the frame’s label.
val get_label : t -> string optionReturns the frame labels text.
If the frame's label widget is not a `GtkLabel`, %NULL is returned.
val get_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionGets the child widget of @frame.
val get_label_xalign : t -> floatGet property: label-xalign
val set_label_xalign : t -> float -> unitSet property: label-xalign
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>