Package ch.bailu.gtk.adw
Schnittstelle AlertDialog.OnResponse
- Umschließende Klasse:
AlertDialog
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onResponse
(Str response) This signal is emitted when the dialog is closed.
-
Methodendetails
-
onResponse
This signal is emitted when the dialog is closed.
@response will be set to the response ID of the button that had been
activated.
if the dialog was closed by pressing <kbd>Escape</kbd> or with a system
action, @response will be set to the value of
[property@AlertDialog:close-response].- Parameter:
response
- the response ID
-