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/Fixed/index.html
Module Wrappers.Fixed
type t = [ `fixed | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : unit -> tCreate a new Fixed
val set_child_transform :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
Ocgtk_gsk.Gsk.Wrappers.Transform.t option ->
unitSets the transformation for @widget.
This is a convenience function that retrieves the class@Gtk.FixedLayoutChild instance associated to @widget and calls method@Gtk.FixedLayoutChild.set_transform.
val remove :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
unitRemoves a child from @fixed.
val put :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
float ->
float ->
unitAdds a widget to a `GtkFixed` at the given position.
val move :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
float ->
float ->
unitSets a translation transformation to the given @x and @y coordinates to the child @widget of the `GtkFixed`.
val get_child_transform :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
Ocgtk_gsk.Gsk.Wrappers.Transform.t optionRetrieves the transformation for @widget set using gtk_fixed_set_child_transform().
val get_child_position :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
float * floatRetrieves the translation transformation of the given child `GtkWidget` in the `GtkFixed`.
See also: method@Gtk.Fixed.get_child_transform.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>