MultiLabel.label

void label(WidgetPtr widget) nothrow @nogc

Associates this multi-label with a widget.

After calling this, the widget will display the compound label. The MultiLabel object must remain valid for the widget's lifetime.

Parameters

widgetWidget pointer to apply the label to
void label(MenuBarPtr menu, int index) nothrow @nogc

Associates this multi-label with a menu item.

After calling this, the menu item will display the compound label. The MultiLabel object must remain valid for the menu's lifetime.

Parameters

menuMenu bar containing the item
indexIndex of the menu item