add AppWindow class (dirty commit)

This commit is contained in:
Nikolay Brovko 2020-01-26 01:13:54 +03:00
parent e31301b689
commit a682844ba1
No known key found for this signature in database
GPG key ID: 32258A3DEC9B6F07
5 changed files with 289 additions and 269 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="org/yggtk/yggtk">
<gresource prefix="/org/yggtk/yggtk">
<file preprocess="xml-stripblanks">ui/main.ui</file>
</gresource>
</gresources>

View file

@ -2,7 +2,7 @@
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkApplicationWindow" id="window">
<template class="YggtkAppWindow" parent="GtkApplicationWindow">
<property name="width_request">600</property>
<property name="height_request">450</property>
<property name="can_focus">False</property>
@ -17,7 +17,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkSwitch" id="status">
<object class="GtkSwitch" id="status_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
</object>
@ -27,7 +27,7 @@
</packing>
</child>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="yggdrasil_label">
<property name="width_request">100</property>
<property name="height_request">80</property>
<property name="visible">True</property>
@ -39,7 +39,7 @@
</packing>
</child>
<child>
<object class="GtkEntry" id="label_ip">
<object class="GtkEntry" id="ip_entry">
<property name="width_request">200</property>
<property name="height_request">35</property>
<property name="visible">True</property>
@ -51,7 +51,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="browse">
<object class="GtkButton" id="browse_button">
<property name="label" translatable="yes">Browse</property>
<property name="width_request">200</property>
<property name="height_request">35</property>
@ -65,7 +65,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="yggdrasil">
<object class="GtkButton" id="update_yggdrasil_button">
<property name="label" translatable="yes">Update Yggdrasil</property>
<property name="width_request">200</property>
<property name="height_request">35</property>
@ -79,7 +79,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="yggtk">
<object class="GtkButton" id="update_yggtk_button">
<property name="label" translatable="yes">Update Yggtk</property>
<property name="width_request">200</property>
<property name="height_request">35</property>
@ -93,7 +93,7 @@
</packing>
</child>
<child>
<object class="GtkCheckButton" id="portable">
<object class="GtkCheckButton" id="portable_checkbutton">
<property name="label" translatable="yes">Portable</property>
<property name="height_request">35</property>
<property name="can_focus">True</property>
@ -107,5 +107,5 @@
</child>
</object>
</child>
</object>
</template>
</interface>