package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.river/River/Xkb/Config/River_xkb_keyboard_v1/class-v2/index.html
Class River_xkb_keyboard_v1.v2Source
Handler for a proxy with version >= 2.
constraint 'a = [< `V2 ]method private virtual on_removed : [> `V2 ] t -> unitThe xkb keyboard is removed.
This event indicates that the xkb keyboard has been removed.
The server will send no further events on this object and ignore any request (other than river_xkb_keyboard_v1.destroy) made after this event is sent. The client should destroy this object with the river_xkb_keyboard_v1.destroy request to free up resources.
method private virtual on_input_device : [> `V2 ] t ->
device:
([ `River_input_device_v1 ],
[> Imports.River_input_device_v1.versions ],
[ `Client ])
Proxy.t ->
unitCorresponding river input device.
The river_input_device_v1 corresponding to this xkb keyboard. This event will always be the first event sent on the river_xkb_keyboard_v1 object, and it will be sent exactly once.
method private virtual on_layout : [> `V2 ] t ->
index:int32 ->
name:string option ->
unitCurrently active layout.
The currently active layout index and name. The name arg may be null if the active layout does not have a name.
This event is sent once when the river_xkb_keyboard_v1 is created and again whenever the layout changes.
method private virtual on_capslock_enabled : [> `V2 ] t -> unitCapslock is currently enabled.
Capslock is currently enabled for the keyboard.
This event is sent once when the river_xkb_keyboard_v1 is created and again whenever the capslock state changes.
method private virtual on_capslock_disabled : [> `V2 ] t -> unitCapslock is currently disabled.
Capslock is currently disabled for the keyboard.
This event is sent once when the river_xkb_keyboard_v1 is created and again whenever the capslock state changes.
method private virtual on_numlock_enabled : [> `V2 ] t -> unitNumlock is currently enabled.
Numlock is currently enabled for the keyboard.
This event is sent once when the river_xkb_keyboard_v1 is created and again whenever the numlock state changes.
method private virtual on_numlock_disabled : [> `V2 ] t -> unitNumlock is currently disabled.
Numlock is currently disabled for the keyboard.
This event is sent once when the river_xkb_keyboard_v1 is created and again whenever the numlock state changes.
method private virtual on_done : [> `V2 ] t -> unitAll information has been sent.
This event is sent after all information about the keyboard has been sent.
This allows changes to one or more river_xkb_keyboard_v1 properties to be seen as atomic, even if they happen via multiple events.