This commit is contained in:
karthikmv 2022-08-23 20:25:02 +05:30
parent 7b80e543ec
commit 6e3e96da19
1 changed files with 172 additions and 121 deletions

View File

@ -3,71 +3,162 @@
<interface> <interface>
<requires lib="gtk+" version="3.24"/> <requires lib="gtk+" version="3.24"/>
<object class="GtkWindow"> <object class="GtkWindow">
<property name="width-request">800</property>
<property name="height-request">600</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkMenuBar"> <object class="GtkLayout" id="util_layout">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property>
<child> <child>
<object class="GtkMenuItem"> <object class="GtkMenuBar" id="util_menubar">
<property name="width-request">800</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">_File</property> <property name="can-default">True</property>
<property name="use-underline">True</property> <property name="resize-mode">immediate</property>
<child type="submenu"> <child>
<object class="GtkMenu"> <object class="GtkMenuItem">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <property name="label" translatable="yes">_File</property>
<object class="GtkImageMenuItem"> <property name="use-underline">True</property>
<property name="label">gtk-new</property> <child type="submenu">
<object class="GtkMenu">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <child>
<property name="use-stock">True</property> <object class="GtkImageMenuItem">
<property name="label">gtk-new</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-open</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-save</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-save-as</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-quit</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
</object> </object>
</child> </child>
<child> </object>
<object class="GtkImageMenuItem"> </child>
<property name="label">gtk-open</property> <child>
<object class="GtkMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">_Edit</property>
<property name="use-underline">True</property>
<child type="submenu">
<object class="GtkMenu">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <child>
<property name="use-stock">True</property> <object class="GtkImageMenuItem">
<property name="label">gtk-cut</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-copy</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-paste</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-delete</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
</object> </object>
</child> </child>
<child> </object>
<object class="GtkImageMenuItem"> </child>
<property name="label">gtk-save</property> <child>
<object class="GtkMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">_View</property>
<property name="use-underline">True</property>
</object>
</child>
<child>
<object class="GtkMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">_Help</property>
<property name="use-underline">True</property>
<child type="submenu">
<object class="GtkMenu">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <child>
<property name="use-stock">True</property> <object class="GtkImageMenuItem">
</object> <property name="label">gtk-about</property>
</child> <property name="visible">True</property>
<child> <property name="can-focus">False</property>
<object class="GtkImageMenuItem"> <property name="use-underline">True</property>
<property name="label">gtk-save-as</property> <property name="use-stock">True</property>
<property name="visible">True</property> </object>
<property name="can-focus">False</property> </child>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-quit</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object> </object>
</child> </child>
</object> </object>
@ -75,85 +166,45 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkMenuItem"> <!-- n-columns=3 n-rows=3 -->
<object class="GtkGrid">
<property name="width-request">100</property>
<property name="height-request">80</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">_Edit</property> <property name="margin-bottom">8</property>
<property name="use-underline">True</property> <child>
<child type="submenu"> <placeholder/>
<object class="GtkMenu"> </child>
<property name="visible">True</property> <child>
<property name="can-focus">False</property> <placeholder/>
<child> </child>
<object class="GtkImageMenuItem"> <child>
<property name="label">gtk-cut</property> <placeholder/>
<property name="visible">True</property> </child>
<property name="can-focus">False</property> <child>
<property name="use-underline">True</property> <placeholder/>
<property name="use-stock">True</property> </child>
</object> <child>
</child> <placeholder/>
<child> </child>
<object class="GtkImageMenuItem"> <child>
<property name="label">gtk-copy</property> <placeholder/>
<property name="visible">True</property> </child>
<property name="can-focus">False</property> <child>
<property name="use-underline">True</property> <placeholder/>
<property name="use-stock">True</property> </child>
</object> <child>
</child> <placeholder/>
<child> </child>
<object class="GtkImageMenuItem"> <child>
<property name="label">gtk-paste</property> <placeholder/>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-delete</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">_View</property>
<property name="use-underline">True</property>
</object>
</child>
<child>
<object class="GtkMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">_Help</property>
<property name="use-underline">True</property>
<child type="submenu">
<object class="GtkMenu">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkImageMenuItem">
<property name="label">gtk-about</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
<property name="use-stock">True</property>
</object>
</child>
</object>
</child> </child>
</object> </object>
<packing>
<property name="x">100</property>
<property name="y">91</property>
</packing>
</child> </child>
</object> </object>
</child> </child>