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

Module Wrappers.Border_node

type t = [ `border_node | `render_node ] Gobject.obj
val new_ : [ `rounded_rect ] Gobject.obj -> float array -> Ocgtk_gdk.Gdk.Wrappers.Rgb_a.t array -> t

Create a new BorderNode

val get_widths : t -> float array

Retrieves the stroke widths of the border.

val get_outline : t -> [ `rounded_rect ] Gobject.obj

Retrieves the outline of the border.

val get_colors : t -> Ocgtk_gdk.Gdk.Wrappers.Rgb_a.t

Retrieves the colors of the border.