Caribou.KeyModel¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.Object (37), Caribou.IScannableItem (4), Caribou.IKeyboardObject (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
align |
||
r/w |
is-modifier |
||
r |
keyval |
||
r/w |
label |
||
r |
name |
||
r/w |
repeatable |
||
r |
show-subkeys |
||
r |
text |
||
r/w |
toggle |
||
r/w |
width |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
modifier_state |
r/w |
||
parent_instance |
r |
Class Details¶
- class Caribou.KeyModel(**kwargs)¶
- Bases:
GObject.Object
,Caribou.IScannableItem
,Caribou.IKeyboardObject
- Abstract:
No
- Structure:
- classmethod new(name, text)¶
- Parameters:
- Return type:
- activate()¶
- get_extended_keys()¶
- Return type:
- press()¶
- release()¶
Signal Details¶
- Caribou.KeyModel.signals.key_hold(key_model)¶
- Signal Name:
key-hold
- Flags:
- Parameters:
key_model (
Caribou.KeyModel
) – The object which received the signal
- Caribou.KeyModel.signals.key_hold_end(key_model)¶
- Signal Name:
key-hold-end
- Flags:
- Parameters:
key_model (
Caribou.KeyModel
) – The object which received the signal
Property Details¶
- Caribou.KeyModel.props.align¶
-
align
- Caribou.KeyModel.props.is_modifier¶
-
is-modifier
- Caribou.KeyModel.props.label¶
-
label
- Caribou.KeyModel.props.repeatable¶
-
repeatable
- Caribou.KeyModel.props.show_subkeys¶
-
show-subkeys
- Caribou.KeyModel.props.toggle¶
-
toggle