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

Module Wrappers.Im_multicontext

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

Create a new IMMulticontext

val set_context_id : t -> string option -> unit

Sets the context id for @context.

This causes the currently active delegate of @context to be replaced by the delegate corresponding to the new context id.

Setting this to a non-%NULL value overrides the system-wide IM module setting. See the property@Gtk.Settings:gtk-im-module property.

val get_context_id : t -> string

Gets the id of the currently active delegate of the @context.