2020-03-01 17:19:59 +13:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.20"/>
|
|
|
|
<requires lib="libhandy" version="0.0"/>
|
|
|
|
<object class="GtkWindow" id="greeter_window">
|
|
|
|
<signal name="destroy" handler="on_destry"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkViewport">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="container">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="prompt_label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="label">prompt label</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="pin_entry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="has_frame">False</property>
|
|
|
|
<property name="margin_top">12</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<property name="visibility">False</property>
|
|
|
|
<property name="buffer">entry_buffer</property>
|
|
|
|
<property name="input_purpose">GTK_INPUT_PURPOSE_PIN</property>
|
|
|
|
<property name="xalign">0.5</property>
|
|
|
|
<property name="caps_lock_warning">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="HdyKeypad">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">fill</property>
|
|
|
|
<property name="valign">fill</property>
|
|
|
|
<property name="margin_top">12</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<property name="only_digits">True</property>
|
|
|
|
<property name="show_symbols">False</property>
|
|
|
|
<property name="right_action">delete_btn</property>
|
|
|
|
<property name="entry">pin_entry</property>
|
|
|
|
<style>
|
|
|
|
<class name="keypad"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="label">Login</property>
|
|
|
|
<signal name="clicked" handler="login_cb"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="message_label">
|
|
|
|
<property name="visible">True</property>
|
2020-03-22 22:32:51 +13:00
|
|
|
<property name="label"></property>
|
2020-03-01 17:19:59 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkEntryBuffer" id="entry_buffer" />
|
|
|
|
<object class="GtkButton" id="delete_btn">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="focus-on-click">False</property>
|
|
|
|
<signal name="clicked" handler="backspace"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon_name">edit-clear-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|