gem-graph-client/ui/gemgraph.ui

97 lines
3.6 KiB
Plaintext
Raw Normal View History

2022-06-24 20:02:09 +02:00
<?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"/>
<template class="main" parent="GtkApplicationWindow">
<property name="default-height">720</property>
<property name="default-width">1080</property>
<property name="icon-name">application-x-executable</property>
2022-06-30 16:43:22 +02:00
<property name="title">GemGraph 0.0.1</property>
2022-06-24 20:02:09 +02:00
<child type="titlebar">
<object class="AdwHeaderBar" id="main_titlebar">
<child type="end">
<object class="GtkMenuButton" id="main_button_menu">
<property name="direction">none</property>
2022-06-30 16:43:22 +02:00
<property name="menu-model">main_menu</property>
2022-06-24 20:02:09 +02:00
</object>
</child>
<child type="start">
<object class="GtkMenuButton" id="main_button_mode">
<property name="always-show-arrow">True</property>
2022-06-30 16:43:22 +02:00
<property name="use-underline">True</property>
<property name="tooltip-text" translatable="yes">Change session mode</property>
2022-06-24 20:02:09 +02:00
<property name="icon-name">document-edit-symbolic</property>
2022-06-30 16:43:22 +02:00
<property name="menu-model">mode_menu</property>
2022-06-24 20:02:09 +02:00
</object>
</child>
<child>
<object class="GtkToggleButton" id="main_button_sidebar">
<property name="icon-name">sidebar-show-symbolic</property>
2022-06-30 16:43:22 +02:00
<property name="tooltip-text" translatable="yes">Display/hide sidebar</property>
2022-06-24 20:02:09 +02:00
</object>
2022-06-30 16:43:22 +02:00
<!-- <object class="GtkLabel" id="is_modified"> -->
<!-- <property name="halign">end</property> -->
<!-- <property name="hexpand">true</property> -->
<!-- <property name="label">•</property> -->
<!-- <property name="margin-end">6</property> -->
<!-- <property name="visible">true</property> -->
<!-- </object> -->
2022-06-24 20:02:09 +02:00
</child>
</object>
</child>
<child>
<object class="GtkPaned" id="main_paned">
<property name="position">250</property>
<child>
2022-06-30 16:43:22 +02:00
<object class="GtkFrame" id="main_sideframe">
<property name="opacity">0.0</property>
</object>
2022-06-24 20:02:09 +02:00
</child>
<child>
2022-06-30 16:43:22 +02:00
<object class="GtkFrame" id="main_frame">
<property name="opacity">0.0</property>
</object>
2022-06-24 20:02:09 +02:00
</child>
</object>
</child>
</template>
2022-06-30 16:43:22 +02:00
<menu id="main_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About GemGraph</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
<menu id="mode_menu">
<section>
<attribute name="label" translatable="yes">Switch session mode</attribute>
<item>
<attribute name="label" translatable="yes">_Edit</attribute>
<attribute name="action">app.switch_to_edit</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Run</attribute>
<attribute name="action">app.switch_to_run</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Presentation</attribute>
<attribute name="action">app.switch_to_presentation</attribute>
</item>
</section>
</menu>
2022-06-24 20:02:09 +02:00
</interface>