Gio.DesktopAppInfo.prototype.get_startup_wm_class

function get_startup_wm_class(): String {
    // Gjs wrapper for g_desktop_app_info_get_startup_wm_class()
}
  

Retrieves the StartupWMClass field from info. This represents the WM_CLASS property of the main window of the application, if launched through info.

Since 2.34

Returns

the startup WM class, or null if none is set in the desktop file.