TreeItem.addButton

Adds a button with Texture button at column column. The button_idx index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling getButtonCount immediately after this method. Optionally, the button can be disabled and have a tooltip.

struct TreeItem
@nogc nothrow
void
addButton
(
StringArg4
)
(
in long column
,,
in long button_idx = -1
,
in bool disabled = false
,
in StringArg4 tooltip = ""
)

Meta