class CUI::Menu
- CUI::Menu
- Reference
- Object
Defined in:
libui/cui.crConstructors
Instance Method Summary
-
#append(text : String, cb : Proc(Pointer(UI::MenuItem), Pointer(UI::Window), Pointer(Void), Object | Nil) | Nil = nil, data : Pointer(Void) | Nil = nil, flags = MenuDesc::Enabled.value)
Keep in mind that our proc's final argument is its return value as determined by the compiler
Constructor Detail
Instance Method Detail
def append(text : String, cb : Proc(Pointer(UI::MenuItem), Pointer(UI::Window), Pointer(Void), Object | Nil) | Nil = nil, data : Pointer(Void) | Nil = nil, flags = MenuDesc::Enabled.value)
#
Keep in mind that our proc's final argument is its return value as determined by the compiler