My_GtkUi/Gtkmm3_Mac/res/calcapp.ui

368 lines
16 KiB
Plaintext
Raw Normal View History

2022-06-08 16:58:25 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.24"/>
<object class="GtkWindow" id="window">
<property name="can-focus">False</property>
<property name="default-width">440</property>
<property name="default-height">260</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Input expression to calculate:</property>
<property name="justify">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="entry_ans">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hexpand">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
2022-06-23 14:57:57 +08:00
<!-- n-columns=5 n-rows=5 -->
2022-06-08 16:58:25 +08:00
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="row-homogeneous">True</property>
<property name="column-homogeneous">True</property>
<child>
<object class="GtkButton" id="btn7">
<property name="label" translatable="yes">7</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">0</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">1</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn8">
<property name="label" translatable="yes">8</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">1</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">1</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn9">
<property name="label" translatable="yes">9</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">2</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">1</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnadd">
<property name="label" translatable="yes">+</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">3</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">1</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn4">
<property name="label" translatable="yes">4</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">0</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">2</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn5">
<property name="label" translatable="yes">5</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">1</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">2</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn6">
<property name="label" translatable="yes">6</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">2</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">2</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnsubb">
<property name="label" translatable="yes">-</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">3</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">2</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn1">
<property name="label" translatable="yes">1</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">0</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">3</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn2">
<property name="label" translatable="yes">2</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">1</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">3</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn3">
<property name="label" translatable="yes">3</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">2</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">3</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnmul">
<property name="label" translatable="yes">*</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">3</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">3</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnleft">
<property name="label" translatable="yes">(</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">0</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">0</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btn0">
<property name="label" translatable="yes">0</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">1</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">4</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnright">
<property name="label" translatable="yes">)</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
2022-06-23 14:57:57 +08:00
<property name="left-attach">1</property>
<property name="top-attach">0</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btndiv">
<property name="label" translatable="yes">/</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">3</property>
2022-06-23 14:57:57 +08:00
<property name="top-attach">4</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
<child>
<object class="GtkButton" id="btnback">
<property name="label" translatable="yes">BackSpace</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">4</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btnclear">
<property name="label" translatable="yes">CE</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">4</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btnanswer">
<property name="label" translatable="yes">=</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">4</property>
<property name="top-attach">2</property>
2022-06-23 14:57:57 +08:00
<property name="height">3</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btnpoint">
<property name="label" translatable="yes">.</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">4</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btnsqrt">
<property name="label" translatable="yes">sqrt(x)</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btnpow">
<property name="label" translatable="yes">x^2</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">3</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="btndiv100">
<property name="label" translatable="yes">%</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="relief">none</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">4</property>
2022-06-08 16:58:25 +08:00
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
</object>
</child>
</object>
</interface>