Interface InfoBar.OnResponse

Enclosing class:
InfoBar
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 InfoBar.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 application programmer
      calls [method@Gtk.InfoBar.response]. The @response_id depends
      on which action widget was clicked.
      Parameters:
      response_id - the response ID