Action.setIsImportant

void setIsImportant(bool isImportant)

Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not.

Parameters

isImportanttrue to make the action important

Deprecated

Use #GAction instead, and control and monitor whether

labels are shown directly