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

Module Wrappers.Uri_launcher

type t = [ `uri_launcher | `object_ ] Gobject.obj
val new_ : string option -> t

Create a new UriLauncher

val set_uri : t -> string option -> unit

Sets the uri that will be opened.

val launch_finish : t -> Ocgtk_gio.Gio.Wrappers.Async_result.t -> (bool, GError.t) result

Finishes the method@Gtk.UriLauncher.launch call and returns the result.

val get_uri : t -> string option

Gets the uri that will be opened.