MainWindow
Constructors
new
SourceInstance methods
active_control
Sourceactive_control?
Sourceadd_keys(keys)
Sourceall_children
Sourcefocus
called when this control becomes the active control. It will start receiving keystrokes after this point.
focusable?
MainWindow is not directly interactive, though being the top-level parent, it does see keystrokes.
handle_key(k)
modeled after bubbling events in web browsers. Send the key to the currently active control, and continue sending it up the control's parents, so long as each control returns :continue. If any control sets it's dirty flag, trigger a refresh.
handle_refresh
Sourcekeys
Sourceload_keys
Sourcenext_control
Sourcereact_to_keys
Sourcerefresh
Sourcerun
Sourcesort_keys
Sourceterminate
Source