Gtk.Action.prototype.set_is_important

function set_is_important(is_important:Boolean):void {
    // Gjs wrapper for gtk_action_set_is_important()
}

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

Since 2.16

is_important

true to make the action important