kopia lustrzana https://git.sr.ht/~michalr/hamlocator
75 wiersze
2.6 KiB
XML
75 wiersze
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="HamlocatorWindow" parent="GtkApplicationWindow">
|
|
<property name="default-width">600</property>
|
|
<property name="default-height">300</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar" id="header_bar">
|
|
<child>
|
|
<object class="GtkButton" id="refresh_btn">
|
|
<property name="icon-name">view-refresh-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child type="end">
|
|
<object class="GtkMenuButton">
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
<property name="menu-model">primary_menu</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkGrid" id="grid">
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="row-spacing">12</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label">
|
|
<property name="label">Hello, World!</property>
|
|
<property name="yalign">1.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
<attribute name="scale" value="3"/>
|
|
</attributes>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label_details">
|
|
<property name="label"></property>
|
|
<property name="yalign">0.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="light"/>
|
|
<attribute name="style" value="italic"/>
|
|
</attributes>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</object><!-- GtkGrid -->
|
|
</child>
|
|
</template>
|
|
|
|
<menu id="primary_menu">
|
|
<section>
|
|
<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 hamlocator</attribute>
|
|
<attribute name="action">app.about</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|