WIP: new draft for an UI

This commit is contained in:
Adrien Bourmault 2022-06-24 18:19:11 +02:00
parent 0b96e3c5c1
commit 0a62d6c3ba
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 67 additions and 0 deletions

26
ui/gem-graph.cmb Normal file
View File

@ -0,0 +1,26 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd">
<cambalache-project version="0.10.2" target_tk="gtk-4.0">
<ui>
(1,None,"gem-graph.ui","gem-graph.ui",None,None,None,None,None,None)
</ui>
<object>
(1,1,"GtkApplicationWindow","main",None,None,None,None,None),
(1,2,"AdwHeaderBar","main_titlebar",1,None,"titlebar",None,None),
(1,3,"GtkMenuButton","main_button_menu",2,None,"end",None,None),
(1,6,"GtkToggleButton","main_button_sidebar",2,None,None,None,2),
(1,7,"GtkPaned","main_paned",1,None,None,None,1),
(1,8,"GtkFrame","main_sideframe",7,None,None,None,None),
(1,9,"GtkFrame","main_frame",7,None,None,None,1),
(1,10,"GtkMenuButton","main_button_mode",2,None,"start",None,None)
</object>
<object_property>
(1,1,"GtkWindow","default-height","720",None,None,None,None,None),
(1,1,"GtkWindow","default-width","1080",None,None,None,None,None),
(1,1,"GtkWindow","icon-name","application-x-executable",None,None,None,None,None),
(1,1,"GtkWindow","title","Gem-graph 0.0.1",None,None,None,None,None),
(1,3,"GtkMenuButton","direction","none",None,None,None,None,None),
(1,6,"GtkButton","icon-name","sidebar-show-symbolic",None,None,None,None,None),
(1,7,"GtkPaned","position","250",None,None,None,None,None)
</object_property>
</cambalache-project>

41
ui/gem-graph.ui Normal file
View File

@ -0,0 +1,41 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.10.2 -->
<interface>
<!-- interface-name gem-graph.ui -->
<requires lib="gtk" version="4.6"/>
<requires lib="libadwaita" version="1.1"/>
<object class="GtkApplicationWindow" id="main">
<property name="default-height">720</property>
<property name="default-width">1080</property>
<property name="icon-name">application-x-executable</property>
<property name="title">Gem-graph 0.0.1</property>
<child type="titlebar">
<object class="AdwHeaderBar" id="main_titlebar">
<child type="end">
<object class="GtkMenuButton" id="main_button_menu">
<property name="direction">none</property>
</object>
</child>
<child type="start">
<object class="GtkMenuButton" id="main_button_mode"/>
</child>
<child>
<object class="GtkToggleButton" id="main_button_sidebar">
<property name="icon-name">sidebar-show-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkPaned" id="main_paned">
<property name="position">250</property>
<child>
<object class="GtkFrame" id="main_sideframe"/>
</child>
<child>
<object class="GtkFrame" id="main_frame"/>
</child>
</object>
</child>
</object>
</interface>