imguiItem

Define a new item.

bool
imguiItem

Parameters

label
Type: const(char)[]

The text that will be displayed as the item.

enabled
Type: Enabled

Set whether the item can be pressed.

colorScheme

Optionally override the current default color scheme when creating this element.

Return Value

Type: bool

true if the item is enabled and was pressed. Note that pressing an item implies pressing and releasing the left mouse button while over the item.

Meta