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/Event_controller_key/class-event_controller_key/index.html

Class Event_controller_key.event_controller_key

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.event_controller_t
method on_im_update : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_key_pressed : ?after:bool -> callback: (keyval:int -> keycode:int -> state:Ocgtk_gdk.Gdk_enums.modifiertype -> bool) -> unit -> Gobject.Signal.handler_id
method on_key_released : ?after:bool -> callback: (keyval:int -> keycode:int -> state:Ocgtk_gdk.Gdk_enums.modifiertype -> unit) -> unit -> Gobject.Signal.handler_id
method on_modifiers : ?after:bool -> callback:(state:Ocgtk_gdk.Gdk_enums.modifiertype -> bool) -> unit -> Gobject.Signal.handler_id
method forward : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> bool
method get_group : unit -> int
method get_im_context : unit -> Ocgtk_gtk__.GIm_context.im_context_t option
method set_im_context : Ocgtk_gtk__.GIm_context.im_context_t option -> unit
method as_event_controller_key : Ocgtk_gtk__.Event_controller_key.t