Interface Application.OnQueryEnd

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.OnQueryEnd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the session manager is about to end the session.
  • Method Details

    • onQueryEnd

      void onQueryEnd()
      Emitted when the session manager is about to end the session.

      This signal is only emitted if [property@Gtk.Application:register-session]
      is `TRUE`. Applications can connect to this signal and call
      [method@Gtk.Application.inhibit] with `GTK_APPLICATION_INHIBIT_LOGOUT`
      to delay the end of the session until state has been saved.