learn-hieroglyphs/resources/widgets/card_display/template.ui.xml

24 lines
1022 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CardDisplay" parent="GtkWidget">
<child>
<object class="GtkPicture" id="picture">
<property name="halign">GTK_ALIGN_CENTER</property>
<property name="valign">GTK_ALIGN_CENTER</property>
</object>
</child>
<child>
<object class="GtkLabel" id="error_message">
<property name="visible">false</property>
<property name="label">No card image found in database. If you think this is an error, please, create an issue.</property>
</object>
</child>
<child>
<object class="GtkEntry" id="answer_entry">
<property name="halign">GTK_ALIGN_CENTER</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="placeholder-text">Type kana that picture means</property>
</object>
</child>
</template>
</interface>