write-ups-challenges-2022-2023/super-hightech-paint/super-hightech-paint-1/buildfiles/ui/validate_field.glade~

67 lines
2.7 KiB
Plaintext
Raw Permalink Normal View History

2022-11-24 21:59:22 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.24"/>
<object class="GtkWindow" id="validate_window">
<property name="can-focus">False</property>
<property name="title" translatable="yes">Super High Tech Paint</property>
<property name="resizable">False</property>
<property name="window-position">center</property>
<property name="default-width">500</property>
<property name="default-height">300</property>
<property name="gravity">center</property>
<child>
<!-- n-columns=1 n-rows=3 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="row-spacing">6</property>
<property name="row-homogeneous">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="label" translatable="yes">Please enter a valid license key</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="entry_key">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="max-length">19</property>
<property name="xalign">0.5</property>
<property name="placeholder-text" translatable="yes">XXXX-XXXX-XXXX-XXXX</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button_validate">
<property name="label" translatable="yes">Validate</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
<property name="receives-default">True</property>
<property name="halign">center</property>
<signal name="clicked" handler="button_validate_clicked" swapped="no"/>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
</object>
</child>
</object>
</interface>