Schnittstelle NativeDialog.OnResponse

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

@FunctionalInterface public static interface NativeDialog.OnResponse
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onResponse(int response_id)
    Emitted when the user responds to the dialog.
  • Methodendetails

    • onResponse

      void onResponse(int response_id)
      Emitted when the user responds to the dialog.

      When this is called the dialog has been hidden.

      If you call [method@Gtk.NativeDialog.hide] before the user
      responds to the dialog this signal will not be emitted.
      Parameter:
      response_id - the response ID