package ocgtk

  1. Overview
  2. Docs
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.obj
val has_color_glyphs : t -> bool

Checks whether the text @node has color glyphs.

Retrieves the offset applied to the text.

val get_num_glyphs : t -> int

Retrieves the number of glyphs in the text node.

val get_glyphs : t -> Ocgtk_pango.Pango.Wrappers.Glyph_info.t array * int

Retrieves the glyph information in the @node.

Returns the font used by the text @node.

Retrieves the color used by the text @node.