Package ch.bailu.gtk.gtk
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-