Schnittstelle Application.OnNameLost

Umschließende Klasse:
Application
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Application.OnNameLost
  • Methodenübersicht Linksymbol

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    The ::name-lost signal is emitted only on the registered primary instance
    when a new instance has taken over.
  • Methodendetails Linksymbol

    • onNameLost Linksymbol

      boolean onNameLost()
      The ::name-lost signal is emitted only on the registered primary instance
      when a new instance has taken over. This can only happen if the application
      is using the %G_APPLICATION_ALLOW_REPLACEMENT flag.

      The default handler for this signal calls g_application_quit().
      Gibt zurück:
      %TRUE if the signal has been handled