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

Module Wrappers.App_chooser

type t = [ `app_chooser ] Gobject.obj
val from_gobject : 'a Gobject.obj -> t
val refresh : t -> unit

Reloads the list of applications.

val get_content_type : t -> string

Returns the content type for which the `GtkAppChooser` shows applications.

val get_app_info : t -> Ocgtk_gio.Gio.Wrappers.App_info.t option

Returns the currently selected application.