Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Tui::MenuBar::MenuAction
Inherits
Struct
/
Value
/
Object
Constructors
new
(label :
String
, hotkey :
Char
|
Nil
= nil, action :
Nil
| -> _ = nil, separator :
Bool
= false)
Source
separator
Source
Instance methods
action
Source
action=
(action :
Proc
(
Nil
) |
Nil
)
Source
hotkey
Source
hotkey=
(hotkey :
Char
|
Nil
)
Source
label
Source
label=
(label :
String
)
Source
separator
Source
separator=
(separator :
Bool
)
Source