add comments

This commit is contained in:
yggverse 2024-11-13 08:59:22 +02:00
parent b01d863492
commit 01bef05346

View File

@ -26,8 +26,10 @@ impl Widget {
.default_response(RESPONSE_CREATE.0)
.build();
// Init response variants
gobject.add_responses(&[RESPONSE_QUIT, RESPONSE_CREATE]);
// Decorate
gobject.set_response_appearance(RESPONSE_CREATE.0, ResponseAppearance::Suggested);
gobject.set_response_appearance(RESPONSE_QUIT.0, ResponseAppearance::Destructive);