chore: add a GtkNotebook to window.ui

merge-requests/8/head
Nefo Fortressia 2021-10-22 10:12:41 +07:00
parent 6adbdd38f2
commit d4670be8b4
1 changed files with 19 additions and 9 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="gtk" version="4.0" />
<object class="GtkApplicationWindow" id="window">
<property name="title">Echidna Code Editor</propertY>
<property name="title">Echidna Code Editor</property>
<property name="default-width">800</property>
<property name="default-height">600</property>
<child>
@ -12,18 +12,30 @@
<object class="GtkBox" id="bars-box">
<property name="vexpand">1</property>
<child>
<placeholder/>
<object class="GtkStackSidebar" id="sidebar"></object>
</child>
<child>
<placeholder/>
<placeholder />
</child>
<child>
<object class="GtkGrid" id="editor-tabs">
<!-- <object class="GtkGrid" id="editor-tabs">
<property name="hexpand">1</property>
<child>
<placeholder/>
-->
<object class="GtkNotebook" id="echidna-notebook">
<child>
<object id="notebook-content" class="GtkLabel">
<property name="label">Hello from Echidna!</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="notebook-welcome">
<property name="label">Welcome</property>
</object>
</child>
</object>
<!-- </child>
</object> -->
</child>
</object>
</child>
@ -35,11 +47,9 @@
<property name="margin-end">10</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
</child>
</object>
</child>
</object>
</interface>
</interface>