Window.setAutoStartupNotification

Sets whether the window should request startup notification.

By default, after showing the first GtkWindow, GTK calls [method@Gdk.Display.notify_startup_complete]. Call this function to disable the automatic startup notification. You might do this if your first window is a splash screen, and you want to delay notification until after your real main window has been shown, for example.

In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main window would automatically result in notification.

class Window
static
void
setAutoStartupNotification
(
bool setting
)

Parameters

setting bool

%TRUE to automatically do startup notification

Meta