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

Module Wrappers.App_chooser_dialog

type t = [ `app_chooser_dialog | `dialog | `window | `widget | `initially_unowned | `object_ ] Gobject.obj
val new_ : [ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option -> Gtk_enums.dialogflags -> Ocgtk_gio.Gio.Wrappers.File.t -> t

Create a new AppChooserDialog

val new_for_content_type : [ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option -> Gtk_enums.dialogflags -> string -> t

Create a new AppChooserDialog

val set_heading : t -> string -> unit

Sets the text to display at the top of the dialog.

If the heading is not set, the dialog displays a default text.

val get_widget : t -> [ `widget | `initially_unowned | `object_ ] Gobject.obj

Returns the `GtkAppChooserWidget` of this dialog.

val get_heading : t -> string option

Returns the text to display at the top of the dialog.

val get_gfile : t -> Ocgtk_gio.Gio.Wrappers.File.t

Get property: gfile