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/Picture/class-picture/index.html

Class Picture.picture

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
method get_alternative_text : unit -> string option
method get_can_shrink : unit -> bool
method get_content_fit : unit -> Ocgtk_gtk__.Gtk_enums.contentfit
method get_file : unit -> Ocgtk_gio.Gio.File.file_t option
method get_keep_aspect_ratio : unit -> bool
method get_paintable : unit -> Ocgtk_gdk.Gdk.Paintable.paintable_t option
method set_alternative_text : string option -> unit
method set_can_shrink : bool -> unit
method set_content_fit : Ocgtk_gtk__.Gtk_enums.contentfit -> unit
method set_file : Ocgtk_gio.Gio.File.file_t option -> unit
method set_filename : string option -> unit
method set_keep_aspect_ratio : bool -> unit
method set_paintable : Ocgtk_gdk.Gdk.Paintable.paintable_t option -> unit
method set_pixbuf : Ocgtk_gdkpixbuf.GdkPixbuf.Pixbuf.pixbuf_t option -> unit
method set_resource : string option -> unit
method as_picture : Ocgtk_gtk__.Picture.t