AppIndicator.Indicator.prototype.build_menu_from_desktop

function build_menu_from_desktop(desktop_file:String, desktop_profile:String):void {
    // Gjs wrapper for app_indicator_build_menu_from_desktop()
}

This function allows for building the Application Indicator menu from a static desktop file.

desktop_file

A path to the desktop file to build the menu from

desktop_profile

Which entries should be used from the desktop file