mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
add comments
This commit is contained in:
parent
b01d863492
commit
01bef05346
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user