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.gio/Ocgtk_gio/Gio/Wrappers/Emblem/index.html

Module Wrappers.Emblem

type t = [ `emblem | `object_ ] Gobject.obj
val new_ : [ `icon ] Gobject.obj -> t

Create a new Emblem

val new_with_origin : [ `icon ] Gobject.obj -> Gio_enums.emblemorigin -> t

Create a new Emblem

val get_origin : t -> Gio_enums.emblemorigin

Gets the origin of the emblem.

val get_icon : t -> [ `icon ] Gobject.obj

Gives back the icon from @emblem.