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/Stroke_node/index.html

Module Wrappers.Stroke_node

type t = [ `stroke_node | `render_node ] Gobject.obj
val new_ : [ `render_node ] Gobject.obj -> [ `path ] Gobject.obj -> [ `stroke ] Gobject.obj -> t

Create a new StrokeNode

val get_stroke : t -> [ `stroke ] Gobject.obj

Retrieves the stroke attributes used in this @node.

val get_path : t -> [ `path ] Gobject.obj

Retrieves the path that will be stroked with the contents of the @node.

val get_child : t -> [ `render_node ] Gobject.obj

Gets the child node that is getting drawn by the given @node.