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/Wrappers/Content_deserializer/index.html

Module Wrappers.Content_deserializer

type t = [ `content_deserializer | `object_ ] Gobject.obj
val return_success : t -> unit

Indicate that the deserialization has been successfully completed.

val return_error : t -> GError.t -> unit

Indicate that the deserialization has ended with an error.

This function consumes @error.

val get_value : t -> Gobject.Value.t

Gets the `GValue` to store the deserialized object in.

val get_priority : t -> int

Gets the I/O priority for the current operation.

This is the priority that was passed to func@Gdk.content_deserialize_async.

val get_mime_type : t -> string

Gets the mime type to deserialize from.

val get_input_stream : t -> Ocgtk_gio.Gio.Wrappers.Input_stream.t

Gets the input stream for the current operation.

This is the stream that was passed to func@Gdk.content_deserialize_async.

val get_gtype : t -> Gobject.Type.t

Gets the `GType` to create an instance of.

val get_cancellable : t -> Ocgtk_gio.Gio.Wrappers.Cancellable.t option

Gets the cancellable for the current operation.

This is the `GCancellable` that was passed to func@Gdk.content_deserialize_async.