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.gtk/Ocgtk_gtk/Gtk/Image/class-image/index.html

Class Image.image

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
method clear : unit -> unit
method get_gicon : unit -> Ocgtk_gio.Gio.Icon.icon_t option
method get_icon_name : unit -> string option
method get_icon_size : unit -> Ocgtk_gtk__.Gtk_enums.iconsize
method get_paintable : unit -> Ocgtk_gdk.Gdk.Paintable.paintable_t option
method get_pixel_size : unit -> int
method get_storage_type : unit -> Ocgtk_gtk__.Gtk_enums.imagetype
method set_from_file : string option -> unit
method set_from_gicon : Ocgtk_gio.Gio.Icon.icon_t -> unit
method set_from_icon_name : string option -> unit
method set_from_paintable : Ocgtk_gdk.Gdk.Paintable.paintable_t option -> unit
method set_from_pixbuf : Ocgtk_gdkpixbuf.GdkPixbuf.Pixbuf.pixbuf_t option -> unit
method set_from_resource : string option -> unit
method set_icon_size : Ocgtk_gtk__.Gtk_enums.iconsize -> unit
method set_pixel_size : int -> unit
method file : string
method set_file : string -> unit
method resource : string
method set_resource : string -> unit
method use_fallback : bool
method set_use_fallback : bool -> unit
method as_image : Ocgtk_gtk__.Image.t