mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-07 16:29:07 -04:00
WIP: Add AdwMessageDialog support
Support AdwMessageDialog's custom XML.
This commit is contained in:
parent
08da6f79c7
commit
c5aeb9a16f
8 changed files with 156 additions and 0 deletions
12
tests/samples/responses.blp
Normal file
12
tests/samples/responses.blp
Normal file
|
@ -0,0 +1,12 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Adw.MessageDialog {
|
||||
responses {
|
||||
cancel: _("Cancel"),
|
||||
discard: _("Discard") destructive,
|
||||
save: "Save" suggested disabled,
|
||||
}
|
||||
|
||||
response::save => on_response_save();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue