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

Module Wrappers.Accessible_text

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

Updates the boundary of the selection.

Implementations of the `GtkAccessibleText` interface should call this function every time the selection has moved, in order to notify assistive technologies.

val update_contents : t -> Gtk_enums.accessibletextcontentchange -> int -> int -> unit

Notifies assistive technologies of a change in contents.

Implementations of the `GtkAccessibleText` interface should call this function every time their contents change as the result of an operation, like an insertion or a removal.

Note: If the change is a deletion, this function must be called *before* removing the contents, if it is an insertion, it must be called *after* inserting the new contents.

val update_caret_position : t -> unit

Updates the position of the caret.

Implementations of the `GtkAccessibleText` interface should call this function every time the caret has moved, in order to notify assistive technologies.