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::MouseEvent
TextUi::MouseEvent
TextUi::Event
Reference
Object
Defined in:
textui/event.cr
Constructors
.new
(x : Int32, y : Int32, key : UInt16)
Instance Method Summary
#key
: UInt16
#left?
#middle?
#release?
#right?
#wheel_down?
#wheel_up?
#x
: Int32
#y
: Int32
Instance methods inherited from class
TextUi::Event
accept
accept
,
accepted? : Bool
accepted?
Constructor Detail
def self.
new
(x : Int32, y : Int32, key : UInt16)
#
[
View source
]
Instance Method Detail
def
key
: UInt16
#
[
View source
]
def
left?
#
[
View source
]
def
middle?
#
[
View source
]
def
release?
#
[
View source
]
def
right?
#
[
View source
]
def
wheel_down?
#
[
View source
]
def
wheel_up?
#
[
View source
]
def
x
: Int32
#
[
View source
]
def
y
: Int32
#
[
View source
]