AppIndicator.Indicator.new
function new(id:String, icon_name:String, category:AppIndicator.IndicatorCategory):AppIndicator.Indicator { // Gjs wrapper for app_indicator_new() }
Creates a new AppIndicator.Indicator setting the properties: AppIndicator.id with id, AppIndicator.category with category and AppIndicator.icon-name with icon_name.
- id
The unique id of the indicator to create.
- icon_name
The icon name for this indicator
- category
The category of indicator.
- Returns
A pointer to a new AppIndicator.Indicator object.