Refactor child types

Didn't change the actual syntax, but changed the rules around to be less
confusing.
This commit is contained in:
James Westman 2023-04-29 21:16:14 -05:00
parent 9dcd06de51
commit 71f52d350a
11 changed files with 74 additions and 55 deletions

View file

@ -1 +1 @@
4,13,15,Action widget must have ID
4,6,22,Action widget must have ID

View file

@ -1 +1 @@
4,13,11,Gtk.Box doesn't have action widgets
4,6,18,Gtk.Box doesn't have action widgets

View file

@ -1,8 +0,0 @@
using Gtk 4.0;
Dialog {
[some_type response=ok]
Button ok_button {
}
}

View file

@ -1 +0,0 @@
4,16,11,Only action widget can have response ID

View file

@ -216,7 +216,6 @@ class TestSamples(unittest.TestCase):
self.assert_sample_error("action_widget_float_response")
self.assert_sample_error("action_widget_have_no_id")
self.assert_sample_error("action_widget_multiple_default")
self.assert_sample_error("action_widget_not_action")
self.assert_sample_error("action_widget_in_invalid_container")
self.assert_sample_error("action_widget_response_dne")
self.assert_sample_error("action_widget_negative_response")