class

UIng::MenuItem

Inherits Reference < Object

Constructors

new(ref_ptr : Pointer(LibUI::MenuItem))
Source

Instance methods

checked=(checked : Bool) : Nil
Source
checked?
Source
destroy

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.

Source
disable
Source
enable
Source
invalidate_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:

Source
on_clicked
Source
to_unsafe
Source