Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
textui
v0.3.3
Top Level Namespace
TextUi
Alignment
Box
BorderStyle
Docking
Color
ColorMode
Dialog
Placement
Signal_dismissed
Event
Format
KeyEvent
Label
List
MouseEvent
PlainTextSyntaxHighlighter
StackedWidget
StatusBar
SyntaxHighlighter
Table
Signal_enter_pressed
Terminal
Event
TerminalError
TextBlock
State
TextBlockBaseCommand
Mode
TextBlockBreakLineCommand
TextBlockChangeCommand
TextBlockConcatLineCommand
TextCursor
TextDocument
Signal_clean_state_changed
TextEditor
Signal_cursor_changed
Signal_key_typed
TextInput
Signal_key_typed
Signal_text_changed
Ui
Signal_focus_changed
Signal_key_typed
Signal_resized
UndoCommand
UndoStack
Widget
Built with Crystal 1.9.2
2023-10-07 23:10:09 UTC
class
TextUi::KeyEvent
TextUi::KeyEvent
TextUi::Event
Reference
Object
Defined in:
textui/event.cr
Constructors
.new
(char : Char =
'\0'
, key : UInt16 =
0_u16
, alt : UInt8 =
0_u8
)
Instance Method Summary
#alt
: UInt8
#alt?
#char
: Char
#key
: UInt16
Instance methods inherited from class
TextUi::Event
accept
accept
,
accepted? : Bool
accepted?
Constructor Detail
def self.
new
(char : Char =
'\0'
, key : UInt16 =
0_u16
, alt : UInt8 =
0_u8
)
#
[
View source
]
Instance Method Detail
def
alt
: UInt8
#
[
View source
]
def
alt?
#
[
View source
]
def
char
: Char
#
[
View source
]
def
key
: UInt16
#
[
View source
]