-
-
Notifications
You must be signed in to change notification settings - Fork 216
/
Copy pathtest_menu_commands.ui
47 lines (47 loc) · 1.97 KB
/
test_menu_commands.ui
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
<?xml version='1.0' encoding='utf-8'?>
<interface version="1.1">
<object class="tk.Menu" id="mainmenu">
<property name="background">#d9cc93</property>
<property name="borderwidth">2</property>
<property name="font">Helvetica 12</property>
<property name="foreground">#080060</property>
<property name="relief">flat</property>
<property name="tearoff">false</property>
<child>
<object class="tk.Menuitem.Submenu" id="menu1">
<property name="bitmap">info</property>
<property name="compound">left</property>
<property name="label" translatable="yes">Submenu_1</property>
<property name="postcommand" type="command" cbtype="simple">on_menu_post</property>
<property name="tearoff">true</property>
<property name="tearoffcommand" type="command" cbtype="simple">on_menu_tearoff</property>
<child>
<object class="tk.Menuitem.Command" id="mbtn1">
<property name="command" type="command" cbtype="simple">button1_cb</property>
<property name="label" translatable="yes">Command_1</property>
</object>
</child>
<child>
<object class="tk.Menuitem.Checkbutton" id="mchb1">
<property name="command" type="command" cbtype="with_wid">chkbutton_cb</property>
<property name="label" translatable="yes">Checkbutton_1</property>
</object>
</child>
<child>
<object class="tk.Menuitem.Radiobutton" id="mrb1">
<property name="label" translatable="yes">Radiobutton_1</property>
</object>
</child>
<child>
<object class="tk.Menuitem.Separator" id="msep1" />
</child>
<child>
<object class="tk.Menuitem.Command" id="mbtn2">
<property name="image">example.gif</property>
<property name="label" translatable="yes">Command_2</property>
</object>
</child>
</object>
</child>
</object>
</interface>