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.gsk/Ocgtk_gsk/Gsk/Wrappers/Text_node/index.html
Module Wrappers.Text_node
type t = [ `text_node | `render_node ] Gobject.objval new_ :
Ocgtk_pango.Pango.Wrappers.Font.t ->
Ocgtk_pango.Pango.Wrappers.Glyph_string.t ->
Ocgtk_gdk.Gdk.Wrappers.Rgb_a.t ->
Ocgtk_graphene.Graphene.Wrappers.Point.t ->
tCreate a new TextNode
val has_color_glyphs : t -> boolChecks whether the text @node has color glyphs.
val get_offset : t -> Ocgtk_graphene.Graphene.Wrappers.Point.tRetrieves the offset applied to the text.
val get_num_glyphs : t -> intRetrieves the number of glyphs in the text node.
val get_glyphs : t -> Ocgtk_pango.Pango.Wrappers.Glyph_info.t array * intRetrieves the glyph information in the @node.
val get_font : t -> Ocgtk_pango.Pango.Wrappers.Font.tReturns the font used by the text @node.
val get_color : t -> Ocgtk_gdk.Gdk.Wrappers.Rgb_a.tRetrieves the color used by the text @node.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>