gtk-transcription/data/resources/ui/window.ui
Tine Jozelj 0059723805
Some checks failed
CI / Rustfmt (push) Failing after 14s
CI / Flatpak (push) Failing after 2m0s
chore: initial localization support
2023-07-17 11:43:37 +02:00

63 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<menu id="primary_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 Transcription</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
<template class="ExampleApplicationWindow" parent="AdwApplicationWindow">
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar" id="headerbar">
<property name="title-widget">
<object class="AdwWindowTitle">
<property name="title" translatable="yes">Transcription</property>
</object>
</property>
<child type="end">
<object class="GtkMenuButton" id="appmenu_button">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">primary_menu</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="label" translatable="yes">Hello world!</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<style>
<class name="title-header"/>
</style>
</object>
</child>
<child>
<object class="GtkButton" id="button">
<property name="label">Run it!</property>
<property name="action-name">app.run_it</property>
</object>
</child>
<child>
<object class="GtkTextView" id="text">
<property name="editable">False</property>
</object>
</child>
</object>
</property>
</template>
</interface>