Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyboardHandler ¶
func KeyboardHandler(event chan *KeyPressEvent, terminal vte3.Terminal)
KeyboardHandler handle events from keyboard
Types ¶
type KeyPressEvent ¶
type KeyPressEvent struct { KeyVal int Modifier gdk.ModifierType }
KeyPressEvent represents a keypress consisting of the particular key (KeyVal) and possibly a modifier (0 if no modifier is given).
func (KeyPressEvent) Equals ¶
func (kpe KeyPressEvent) Equals(k2 KeyPressEvent) bool
Equals compare two KeyPressEvents
func (KeyPressEvent) GetKeyValue ¶
func (kpe KeyPressEvent) GetKeyValue() int
GetKeyValue returnes the KeyVal value
func (KeyPressEvent) GetModifier ¶
func (kpe KeyPressEvent) GetModifier() Modifier
GetModifier returns the Modifier used
Click to show internal directories.
Click to hide internal directories.