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.common/Gobject/Type/index.html

Module Gobject.TypeSource

Sourcetype t = g_type
Sourceval equal : t -> t -> bool

Test two GTypes for identity

Sourceval to_int : t -> int

Expose the underlying integer (for logging/debugging only)

Sourceval name : t -> string

Get type name

Sourceval from_name : string -> t

Get type from name

Sourceval parent : t -> t

Get parent type

Sourceval is_a : t -> t -> bool

Check type hierarchy

Sourceval invalid : t
Sourceval none : t
Sourceval interface : t
Sourceval char_ : t
Sourceval uchar : t
Sourceval boolean : t
Sourceval int_ : t
Sourceval uint : t
Sourceval long : t
Sourceval ulong : t
Sourceval int64 : t
Sourceval uint64 : t
Sourceval enum : t
Sourceval flags : t
Sourceval float_ : t
Sourceval double : t
Sourceval string : t
Sourceval pointer : t
Sourceval boxed : t
Sourceval param : t
Sourceval object_ : t