1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0" />
<requires lib="adw" version="1.0" />
<template class="Statsbar" parent="GtkRevealer">
<property name="valign">end</property>
<property name="halign">end</property>
<property name="transition-type">crossfade</property>
<property name="transition-duration">750</property>
<property name="reveal-child">1</property>
<property name="child">
<object class="GtkStack" id="buttons_stack">
<property name="hhomogeneous">True</property>
<property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
<property name="name">stats</property>
<property name="child">
<object class="GtkMenuButton" id="stats_button">
<property name="always-show-arrow">True</property>
<property name="tooltip-text" translatable="yes">Show Statistics</property>
<property name="label" translatable="yes">0 Words</property>
<property name="halign">end</property>
<property name="valign">end</property>
<property name="margin-end">6</property>
<property name="margin-bottom">6</property>
<style>
<class name="stats-button" />
<class name="flat" />
</style>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">stats_short</property>
<property name="child">
<object class="GtkMenuButton" id="stats_button_short">
<property name="tooltip-text" translatable="yes">Show Statistics</property>
<property name="icon-name">radio-symbolic</property>
<property name="halign">end</property>
<property name="valign">end</property>
<property name="margin-end">6</property>
<property name="margin-bottom">6</property>
<style>
<class name="stats-button" />
<class name="flat" />
</style>
</object>
</property>
</object>
</child>
</object>
</property>
</template>
</interface>
|