mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
tests: add tests for action widget syntax
This commit is contained in:
parent
736681a841
commit
d9ef1d4df9
17 changed files with 120 additions and 0 deletions
18
tests/samples/action_widgets.blp
Normal file
18
tests/samples/action_widgets.blp
Normal file
|
@ -0,0 +1,18 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Dialog {
|
||||
[action response=cancel]
|
||||
Button cancel_button {
|
||||
label: _("Cancel");
|
||||
}
|
||||
|
||||
[action reponse=9]
|
||||
Button custom_response_button {
|
||||
label: _("Reinstall Windows");
|
||||
}
|
||||
|
||||
[action response=ok default]
|
||||
Button ok_button {
|
||||
label: _("Ok");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue