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.gdk/Ocgtk_gdk/Gdk/Texture/class-texture/index.html

Class Texture.texture

inherit Ocgtk_gdk__.GPaintable.paintable_t
inherit Ocgtk_gio.Gio.Icon.icon_t
inherit Ocgtk_gio.Gio.Loadable_icon.loadable_icon_t
method get_format : unit -> Ocgtk_gdk__.Gdk_enums.memoryformat
method get_height : unit -> int
method get_width : unit -> int
method save_to_png : string -> bool
method save_to_png_bytes : unit -> Glib_bytes.t
method save_to_tiff : string -> bool
method save_to_tiff_bytes : unit -> Glib_bytes.t
method as_texture : Ocgtk_gdk__.Texture.t