Package: gtk
Accessor gtk:window-application
Lambda Listgtk:window-application (object) SyntaxArgumentsDetails The accessor for the application slot of the gtk:window class gets or sets the application associated with the
window. Pass the nil value to unset the application. The application will be kept alive for at least as long as it has any windows associated with it. See the g:application-hold function for a way to keep it alive without windows. Normally, the connection between the application and the window will remain until the window is destroyed, but you can explicitly remove it by setting the application property to nil. This is equivalent to calling the gtk:application-remove-window function and/or the gtk:application-add-window function on the old/new applications as relevant. | See also |
2025-07-28