set_startup_notification_id


Description:

[ Version ( deprecated = true , deprecated_since = "4.10." ) ]
public void set_startup_notification_id (string startup_id)

Warning: set_startup_notification_id is deprecated since 4.10..

Sets the startup notification ID for a display.

Note:

Use [method@Gdk.Toplevel.set_startup_id]

This is usually taken from the value of the `DESKTOP_STARTUP_ID` environment variable, but in some cases (such as the application not being launched using exec) it can come from other sources.

The startup ID is also what is used to signal that the startup is complete (for example, when opening a window or when calling [ method@Gdk.Display.notify_startup_complete]).

Parameters:

this

a `GdkDisplay`

startup_id

the startup notification ID (must be valid utf8)