package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/File_launcher/index.html
Module Wrappers.File_launcher
type t = [ `file_launcher | `object_ ] Gobject.objval new_ : Ocgtk_gio.Gio.Wrappers.File.t option -> tCreate a new FileLauncher
val set_writable : t -> bool -> unitSets whether to make the file writable for the handler.
val set_file : t -> Ocgtk_gio.Gio.Wrappers.File.t option -> unitSets the file that will be opened.
val set_always_ask : t -> bool -> unitSets whether to awlays ask the user to choose an app for opening the file. If `FALSE`, the file might be opened with a default app or the previous choice.
val open_containing_folder_finish :
t ->
Ocgtk_gio.Gio.Wrappers.Async_result.t ->
(bool, GError.t) resultFinishes the method@Gtk.FileLauncher.open_containing_folder call and returns the result.
val launch_finish :
t ->
Ocgtk_gio.Gio.Wrappers.Async_result.t ->
(bool, GError.t) resultFinishes the method@Gtk.FileLauncher.launch call and returns the result.
val get_writable : t -> boolReturns whether to make the file writable for the handler.
val get_file : t -> Ocgtk_gio.Gio.Wrappers.File.t optionGets the file that will be opened.
val get_always_ask : t -> boolReturns whether to ask the user to choose an app for opening the file.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>