UIng::MenuItem
Inherits Reference < Object
Constructors
new(ref_ptr : Pointer(LibUI::MenuItem))
SourceInstance methods
checked=(checked : Bool) : Nil
Sourcechecked?
Sourcedestroy
Invalidates this wrapper and releases its callback. Menu items are owned by libui-ng, so this does not remove the native item from its menu.
disable
Sourceenable
Sourceinvalidate_after_uninit
Marks an item invalid after libui-ng has released all menus in uiUninit(). This must not call back into native code because the pointer is already dead. :nodoc:
on_clicked
Sourceto_unsafe
Source