imguiItem

Define a new item.

bool
imguiItem

Parameters

label const(char)[]

The text that will be displayed as the item.

enabled Enabled

Set whether the item can be pressed.

colorScheme 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