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.gio/Ocgtk_gio/Gio/Wrappers/Filename_completer/index.html

Module Wrappers.Filename_completer

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

Create a new FilenameCompleter

val set_dirs_only : t -> bool -> unit

If @dirs_only is %TRUE, @completer will only complete directory names, and not file names.

val get_completions : t -> string -> string array

Gets an array of completion strings for a given initial text.

val get_completion_suffix : t -> string -> string option

Obtains a completion for @initial_text from @completer.

val on_got_completion_data : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id