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

Module Wrappers.Themed_icon

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

Create a new ThemedIcon

val new_from_names : string array -> int -> t

Create a new ThemedIcon

val new_with_default_fallbacks : string -> t

Create a new ThemedIcon

val prepend_name : t -> string -> unit

Prepend a name to the list of icons from within @icon.

Note that doing so invalidates the hash computed by prior calls to g_icon_hash().

val get_names : t -> string array

Gets the names of icons from within @icon.

val append_name : t -> string -> unit

Append a name to the list of icons from within @icon.

Note that doing so invalidates the hash computed by prior calls to g_icon_hash().

val get_use_default_fallbacks : t -> bool

Get property: use-default-fallbacks