Class: KeyEvent

silkedit. KeyEvent

QKeyEventに対応するクラス。


new KeyEvent(type, key, modifiers [, text] [, autorep] [, count])

Parameters:
Name Type Argument Default Description
type module:silkedit.Event.Type
key number
modifiers number

KeyboardModifierの組み合わせ

text string <optional>
""
autorep boolean <optional>
false
count number <optional>
1

Methods


key()

Returns:
Type
module:silkedit.Key

type()

Returns:
Type
module:silkedit.Event.Type