Interface NativeDialog.OnResponse

Enclosing class:
NativeDialog
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 NativeDialog.OnResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onResponse(int response_id)
    Emitted when the user responds to the dialog.
  • Method Details

    • 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.
      Parameters:
      response_id - the response ID