Interface Application.OnWindowRemoved

Enclosing class:
Application
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Application.OnWindowRemoved
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when a [class@Gtk.Window] is removed from `application`.
  • Method Details

    • onWindowRemoved

      void onWindowRemoved(@Nonnull Window window)
      Emitted when a [class@Gtk.Window] is removed from `application`.

      This can happen as a side-effect of the window being destroyed
      or explicitly through [method@Gtk.Application.remove_window].
      Parameters:
      window - the [class@Gtk.Window] that is being removed