Phosphor::SubRule
Describes which events a subscribed widget receives regardless of focus.
Create via SubRule.key(key_string) to match a specific key. Additional
rule types (mouse buttons, event types) can be added in later phases.
Constructors
Returns a SubRule that matches a KeyEvent whose key is key_string.
Supported format: "ctrl+<letter>" (e.g. "ctrl+c", "ctrl+z").
new(key : Key)
Source