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/Native/index.html
Module Wrappers.Native
type t = [ `native ] Gobject.objval from_gobject : 'a Gobject.obj -> tval unrealize : t -> unitUnrealizes a `GtkNative`.
This should only be used by subclasses.
val realize : t -> unitRealizes a `GtkNative`.
This should only be used by subclasses.
val get_surface_transform : t -> float * floatRetrieves the surface transform of @self.
This is the translation from @self's surface coordinates into @self's widget coordinates.
val get_surface : t -> Ocgtk_gdk.Gdk.Wrappers.Surface.t optionReturns the surface of this `GtkNative`.
val get_renderer : t -> Ocgtk_gsk.Gsk.Wrappers.Renderer.t optionReturns the renderer that is used for this `GtkNative`.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>