Pike v8.1 release 6

Method GTK2.Gnome2Client()->get_desktop_id()


Method get_desktop_id

string get_desktop_id()

Description

Get the client ID of the desktop's current instance, i.e. if you consider the desktop as a whole as a session managed app, this returns its session ID using a gnome extension to session management. May return empty for apps not running under a recent version of gnome-session; apps should handle that case.