blueprint-compiler/tests/samples/action_widgets.ui
James Westman 8758bac40a
tests: Test XML outputs
Load the outputs of the tests in Gtk.Builder and make sure they work.
Some of them don't and need to be fixed. Others will require a bit more
work to set up callbacks, templates, etc.
2022-12-19 13:53:52 -06:00

36 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkDialog">
<child type="action">
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="true">Cancel</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="custom_response_button">
<property name="label" translatable="true">Reinstall Windows</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="ok_button">
<property name="label" translatable="true">Ok</property>
</object>
</child>
<action-widgets>
<action-widget response="cancel">cancel_button</action-widget>
<action-widget response="9">custom_response_button</action-widget>
<action-widget response="ok" default="True">ok_button</action-widget>
</action-widgets>
</object>
<object class="GtkInfoBar">
<child type="action">
<object class="GtkButton" id="ok_info_button">
<property name="label" translatable="true">Ok</property>
</object>
</child>
<action-widgets>
<action-widget response="ok">ok_info_button</action-widget>
</action-widgets>
</object>
</interface>