set_startup_notification_id


Description:

[ Version ( since = "1.6" ) ]
public void set_startup_notification_id (string startup_id)

Sets the startup notification ID for the launched process.

This is typically used to to pass the current X11 event timestamp to the external installer process.

Startup notification IDs are defined in the [FreeDesktop.Org Startup Notifications standard](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).

If set, the ID will be passed to the installer via a --startup-notification-id= command line option.

GTK+/GNOME applications should be able to create a startup notification ID like this:

	timestamp = gtk_get_current_event_time ();
startup_id = g_strdup_printf ("_TIME%u", timestamp);
...

Parameters:

this

a InstallPluginsContext

startup_id

the startup notification ID




2022 vala-language.org