Interface Dialog.OnResponse

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

    Modifier and Type
    Method
    Description
    void
    onResponse(int response_id)
    Emitted when an action widget is clicked.
  • Method Details

    • onResponse

      void onResponse(int response_id)
      Emitted when an action widget is clicked.

      The signal is also emitted when the dialog receives a
      delete event, and when [method@Gtk.Dialog.response] is called.
      On a delete event, the response ID is %GTK_RESPONSE_DELETE_EVENT.
      Otherwise, it depends on which action widget was clicked.
      Parameters:
      response_id - the response ID