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