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/Event_controller_key/index.html
Module Wrappers.Event_controller_key
type t = [ `event_controller_key | `event_controller | `object_ ] Gobject.objval new_ : unit -> tCreate a new EventControllerKey
val set_im_context : t -> [ `im_context | `object_ ] Gobject.obj option -> unitSets the input method context of the key @controller.
val get_im_context : t -> [ `im_context | `object_ ] Gobject.obj optionGets the input method context of the key @controller.
val get_group : t -> intGets the key group of the current event of this @controller.
See method@Gdk.KeyEvent.get_layout.
val forward :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
boolForwards the current event of this @controller to a @widget.
This function can only be used in handlers for the signal@Gtk.EventControllerKey::key-pressed, signal@Gtk.EventControllerKey::key-released or signal@Gtk.EventControllerKey::modifiers signals.
val on_im_update :
?after:bool ->
t ->
callback:(unit -> unit) ->
Gobject.Signal.handler_idval on_key_pressed :
?after:bool ->
t ->
callback:
(keyval:int ->
keycode:int ->
state:Ocgtk_gdk.Gdk_enums.modifiertype ->
bool) ->
Gobject.Signal.handler_idval on_key_released :
?after:bool ->
t ->
callback:
(keyval:int ->
keycode:int ->
state:Ocgtk_gdk.Gdk_enums.modifiertype ->
unit) ->
Gobject.Signal.handler_idval on_modifiers :
?after:bool ->
t ->
callback:(state:Ocgtk_gdk.Gdk_enums.modifiertype -> bool) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>