Application.addWindow

Adds a window to application. This call is equivalent to setting the "application" property of window to application. Normally, the connection between the application and the window will remain until the window is destroyed, but you can explicitly remove it with gtk_application_remove_window(). GTK+ will keep the application running as long as it has any windows.

class Application
void
addWindow

Parameters

window Window

a GtkWindow Since 3.0

Meta