AppIndicator.Indicator.prototype.set_label

function set_label(label:String, guide:String):void {
    // Gjs wrapper for app_indicator_set_label()
}

This is a wrapper function for the AppIndicator.label and #AppIndicator:guide properties. This function can take #NULL as either label or guide and will clear the entries.

label

The label to show next to the icon.

guide

A guide to size the label correctly.