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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
<requires lib="gtk" version="4.0"/>
<template class="PricelistWidget" parent="GtkBox">
<property name="orientation">1</property>
<signal name="map" handler="on_map_all"/>
<signal name="unmap" handler="on_unmap_all"/>
<child>
<object class="GtkBox">
<child>
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">my_menu</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">true</property>
<child>
<object class="GtkLabel" id="error"></object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="vexpand">true</property>
<child>
<object class="GtkTextView" id="textview"></object>
</child>
</object>
</child>
</template>
<menu id="my_menu">
<submenu>
<attribute name="label" translatable="yes">File</attribute>
<item>
<attribute name="label" translatable="yes">Load</attribute>
<attribute name="action">win.load</attribute>
<attribute name="icon">open-menu-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Append</attribute>
<attribute name="action">win.append</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Save</attribute>
<attribute name="action">win.save</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
</submenu>
<item>
<attribute name="label" translatable="yes">Undo</attribute>
<attribute name="action">win.undo</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Redo</attribute>
<attribute name="action">win.redo</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<submenu>
<attribute name="label" translatable="yes">Help</attribute>
<item>
<attribute name="label" translatable="yes">About</attribute>
<attribute name="action">app.about</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Pricelist Workflow</attribute>
<attribute name="action">win.help_workflow</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Pricelist Syntax</attribute>
<attribute name="action">win.help_syntax</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
</submenu>
</menu>
<object class="GtkFileFilter" id="cashbox_file_filter">
<property name="name">cashbox pricelists</property>
<mime-types>
<mime-type>application/cashbox</mime-type>
<mime-type>text/plain</mime-type>
</mime-types>
</object>
<object class="GtkFileDialog" id="file_dialog">
<property name="default-filter">cashbox_file_filter</property>
</object>
<object class="GtkTextTag" id="red_tag">
<property name="background">tomato</property>
</object>
<object class="GtkTextTag" id="green_tag">
<property name="background">lightgreen</property>
</object>
<object class="GtkTextTag" id="orange_tag">
<property name="background">orange</property>
</object>
</interface>
|