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/Builder/class-builder/index.html

Class Builder.builder

method add_from_file : string -> (bool, GError.t) result
method add_from_resource : string -> (bool, GError.t) result
method add_from_string : string -> int -> (bool, GError.t) result
method add_objects_from_file : string -> string array -> (bool, GError.t) result
method add_objects_from_resource : string -> string array -> (bool, GError.t) result
method add_objects_from_string : string -> int -> string array -> (bool, GError.t) result
method expose_object : string -> [ `object_ ] Gobject.obj -> unit
method extend_with_template : [ `object_ ] Gobject.obj -> Gobject.Type.t -> string -> int -> (bool, GError.t) result
method get_current_object : unit -> [ `object_ ] Gobject.obj option
method get_object : string -> [ `object_ ] Gobject.obj option
method get_objects : unit -> [ `object_ ] Gobject.obj list
method get_scope : unit -> Ocgtk_gtk__.GBuilder_scope.builder_scope_t
method get_translation_domain : unit -> string option
method get_type_from_name : string -> Gobject.Type.t
method set_current_object : [ `object_ ] Gobject.obj option -> unit
method set_scope : Ocgtk_gtk__.GBuilder_scope.builder_scope_t option -> unit
method set_translation_domain : string option -> unit
method as_builder : Ocgtk_gtk__.Builder.t