Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Tui::MenuBar::MenuItem
Inherits
Struct
/
Value
/
Object
Constructors
new
(label :
String
, hotkey :
Char
|
Nil
= nil, items :
Array
(
Tui::MenuBar::MenuAction
) = [] of
MenuAction
)
Source
Instance methods
hotkey
Source
hotkey=
(hotkey :
Char
|
Nil
)
Source
items
Source
items=
(items :
Array
(
MenuAction
))
Source
label
Source
label=
(label :
String
)
Source