mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Blueprint uses underscores in property/state/relation names, but GtkBuilder expects dashes because it uses the glib names from the GtkAccessible* enums.
12 lines
402 B
XML
12 lines
402 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkBox">
|
|
<accessibility>
|
|
<property name="label" translatable="true">Hello, world!</property>
|
|
<relation name="labelled-by">my_label</relation>
|
|
<state name="checked">true</state>
|
|
</accessibility>
|
|
</object>
|
|
<object class="GtkLabel" id="my_label"></object>
|
|
</interface>
|