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

Module Wrappers.Emblemed_icon

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

Create a new EmblemedIcon

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

Gets the main icon for @emblemed.

val get_emblems : t -> [ `emblem | `object_ ] Gobject.obj list

Gets the list of emblems for the @icon.

val clear_emblems : t -> unit

Removes all the emblems from @icon.

val add_emblem : t -> [ `emblem | `object_ ] Gobject.obj -> unit

Adds @emblem to the #GList of #GEmblems.

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

Get property: gicon