set_startup_id


Description:

public void set_startup_id (string startup_id)

Sets the startup notification ID.

Startup notification identifiers are used by desktop environment to track application startup, to provide user feedback and other features. This function changes the corresponding property on the underlying `GdkSurface`.

Normally, startup identifier is managed automatically and you should only use this function in special cases like transferring focus from other processes. You should use this function before calling [method@Gtk.Window.present] or any equivalent function generating a window map event.

This function is only useful on X11, not with other GTK targets.

Parameters:

this

a `GtkWindow`

startup_id

a string with startup-notification identifier