You can search for identifiers within the package.
in-package search v0.2.0
ocgtk.common
Gobject.Closure
type t = g_closure
type args
Opaque type for closure arguments
type argv = {
result : g_value;
nargs : int;
args : args;
}
Closure invocation context
val create : (argv -> unit) -> t
Create a closure from an OCaml callback
val nth : argv -> pos:int -> g_value
Get the nth argument
val result : argv -> g_value
Get the result GValue
val get_result_type : argv -> g_type
Get the expected result type
val get_type : argv -> pos:int -> g_type
Get the type of an argument
val set_result : argv -> g_value -> unit
Set the result value