mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09: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/sample_errors/responses.blp
Normal file
12
tests/sample_errors/responses.blp
Normal file
|
@ -0,0 +1,12 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Adw.MessageDialog {
|
||||
responses {
|
||||
duplicate: _("Hello"),
|
||||
duplicate_appearance: _("1") destructive suggested,
|
||||
duplicate: _("Goodbye"),
|
||||
}
|
||||
|
||||
responses {}
|
||||
}
|
3
tests/sample_errors/responses.err
Normal file
3
tests/sample_errors/responses.err
Normal file
|
@ -0,0 +1,3 @@
|
|||
7,46,9,Only one of 'destructive' or 'suggested' is allowed
|
||||
8,5,9,Duplicate response ID 'duplicate'
|
||||
11,3,9,Duplicate responses block
|
Loading…
Add table
Add a link
Reference in a new issue