Mercurial > MadButterfly
annotate pyink/FSM_window.glade @ 1488:757c5626d15d
Show context menu for states
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 30 Apr 2011 15:22:45 +0800 |
parents | 92a8497d0361 |
children | 6616530c4180 |
rev | line source |
---|---|
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
2 <interface> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
3 <requires lib="gtk+" version="2.16"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
4 <!-- interface-naming-policy project-wide --> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
5 <object class="GtkWindow" id="FSM_main_win"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
6 <property name="width_request">500</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
7 <property name="height_request">400</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
8 <property name="title" translatable="yes">FSM</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
9 <property name="modal">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
10 <signal name="destroy_event" handler="on_FSM_main_win_destroy_event"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
11 <signal name="delete_event" handler="on_FSM_main_win_delete_event"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
12 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
13 <object class="GtkVBox" id="vbox1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
14 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
15 <property name="orientation">vertical</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
16 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
17 <object class="GtkMenuBar" id="menubar1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
18 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
19 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
20 <object class="GtkMenuItem" id="menuitem1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
21 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
22 <property name="label" translatable="yes">_File</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
23 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
24 <child type="submenu"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
25 <object class="GtkMenu" id="menu1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
26 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
27 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
28 <object class="GtkImageMenuItem" id="close_window"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
29 <property name="label">gtk-close</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
30 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
31 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
32 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
33 <signal name="activate" handler="on_close_window_activate"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
34 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
35 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
36 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
37 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
38 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
39 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
40 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
41 <object class="GtkMenuItem" id="menuitem2"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
42 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
43 <property name="label" translatable="yes">_Edit</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
44 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
45 <child type="submenu"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
46 <object class="GtkMenu" id="menu2"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
47 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
48 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
49 <object class="GtkImageMenuItem" id="imagemenuitem6"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
50 <property name="label">gtk-cut</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
51 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
52 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
53 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
54 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
55 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
56 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
57 <object class="GtkImageMenuItem" id="imagemenuitem7"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
58 <property name="label">gtk-copy</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
59 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
60 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
61 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
62 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
63 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
64 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
65 <object class="GtkImageMenuItem" id="imagemenuitem8"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
66 <property name="label">gtk-paste</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
67 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
68 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
69 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
70 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
71 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
72 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
73 <object class="GtkImageMenuItem" id="imagemenuitem9"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
74 <property name="label">gtk-delete</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
75 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
76 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
77 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
78 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
79 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
80 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
81 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
82 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
83 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
84 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
85 <object class="GtkMenuItem" id="menuitem3"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
86 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
87 <property name="label" translatable="yes">_View</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
88 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
89 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
90 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
91 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
92 <object class="GtkMenuItem" id="menuitem4"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
93 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
94 <property name="label" translatable="yes">_Help</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
95 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
96 <child type="submenu"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
97 <object class="GtkMenu" id="menu3"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
98 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
99 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
100 <object class="GtkImageMenuItem" id="imagemenuitem10"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
101 <property name="label">gtk-about</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
102 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
103 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
104 <property name="use_stock">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
105 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
106 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
107 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
108 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
109 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
110 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
111 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
112 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
113 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
114 <property name="position">0</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
115 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
116 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
117 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
118 <object class="GtkHandleBox" id="handlebox1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
119 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
120 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
121 <object class="GtkToolbar" id="toolbar1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
122 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
123 <property name="toolbar_style">icons</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
124 <property name="icon_size">1</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
125 <property name="icon_size_set">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
126 <child> |
1477
e217c7743905
Make FSM button radio
Thinker K.F. Li <thinker@codemud.net>
parents:
1457
diff
changeset
|
127 <object class="GtkRadioToolButton" id="add_state"> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
128 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
129 <property name="tooltip_text" translatable="yes">Add state</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
130 <property name="label" translatable="yes">Add State</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
131 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
132 <property name="stock_id">gtk-add</property> |
1478 | 133 <signal name="toggled" handler="on_add_state_toggled"/> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
134 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
135 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
136 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
137 <property name="homogeneous">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
138 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
139 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
140 <child> |
1477
e217c7743905
Make FSM button radio
Thinker K.F. Li <thinker@codemud.net>
parents:
1457
diff
changeset
|
141 <object class="GtkRadioToolButton" id="move_state"> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
142 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
143 <property name="tooltip_text" translatable="yes">Move or select a state</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
144 <property name="label" translatable="yes">select & move</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
145 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
146 <property name="icon_name">widget-gtk-alignment</property> |
1477
e217c7743905
Make FSM button radio
Thinker K.F. Li <thinker@codemud.net>
parents:
1457
diff
changeset
|
147 <property name="group">add_state</property> |
1478 | 148 <signal name="toggled" handler="on_move_state_toggled"/> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
149 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
150 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
151 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
152 <property name="homogeneous">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
153 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
154 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
155 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
156 <object class="GtkSeparatorToolItem" id="toolbutton1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
157 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
158 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
159 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
160 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
161 <property name="homogeneous">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
162 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
163 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
164 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
165 <object class="GtkToolButton" id="zoom_in"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
166 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
167 <property name="tooltip_text" translatable="yes">Zoom-in</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
168 <property name="label" translatable="yes">Zoom-in</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
169 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
170 <property name="stock_id">gtk-zoom-in</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
171 <signal name="clicked" handler="on_zoom_in_clicked"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
172 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
173 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
174 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
175 <property name="homogeneous">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
176 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
177 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
178 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
179 <object class="GtkToolButton" id="zoom_out"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
180 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
181 <property name="tooltip_text" translatable="yes">Zoom-out</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
182 <property name="label" translatable="yes">Zoom-out</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
183 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
184 <property name="stock_id">gtk-zoom-out</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
185 <signal name="clicked" handler="on_zoom_out_clicked"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
186 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
187 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
188 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
189 <property name="homogeneous">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
190 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
191 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
192 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
193 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
194 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
195 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
196 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
197 <property name="position">1</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
198 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
199 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
200 <child> |
1479
92a8497d0361
Make FSM editor scrollable
Thinker K.F. Li <thinker@codemud.net>
parents:
1478
diff
changeset
|
201 <object class="GtkVBox" id="view_box"> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
202 <property name="visible">True</property> |
1479
92a8497d0361
Make FSM editor scrollable
Thinker K.F. Li <thinker@codemud.net>
parents:
1478
diff
changeset
|
203 <property name="orientation">vertical</property> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
204 <child> |
1479
92a8497d0361
Make FSM editor scrollable
Thinker K.F. Li <thinker@codemud.net>
parents:
1478
diff
changeset
|
205 <placeholder/> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
206 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
207 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
208 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
209 <property name="position">2</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
210 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
211 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
212 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
213 <object class="GtkStatusbar" id="statusbar1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
214 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
215 <property name="spacing">5</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
216 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
217 <object class="GtkHBox" id="hbox1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
218 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
219 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
220 <object class="GtkLabel" id="label1"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
221 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
222 <property name="xalign">0.10000000149011612</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
223 <property name="label" translatable="yes">Compnent:</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
224 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
225 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
226 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
227 <property name="position">0</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
228 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
229 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
230 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
231 <object class="GtkLabel" id="comp_name"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
232 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
233 <property name="xpad">5</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
234 <property name="label" translatable="yes">component1</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
235 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
236 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
237 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
238 <property name="position">1</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
239 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
240 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
241 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
242 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
243 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
244 <property name="position">0</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
245 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
246 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
247 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
248 <packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
249 <property name="expand">False</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
250 <property name="position">3</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
251 </packing> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
252 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
253 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
254 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
255 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
256 <object class="GtkMenu" id="fsm_context"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
257 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
258 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
259 <object class="GtkMenuItem" id="remove_state"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
260 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
261 <property name="tooltip_text" translatable="yes">Remove selected state or transition.</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
262 <property name="label" translatable="yes">Remove</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
263 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
264 <signal name="activate" handler="on_remove_state_activate"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
265 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
266 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
267 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
268 <object class="GtkMenuItem" id="rename_state"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
269 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
270 <property name="tooltip_text" translatable="yes">Change state name</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
271 <property name="label" translatable="yes">Rename</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
272 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
273 <signal name="activate" handler="on_rename_state_activate"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
274 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
275 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
276 <child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
277 <object class="GtkMenuItem" id="start_state"> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
278 <property name="visible">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
279 <property name="tooltip_text" translatable="yes">Make the selected state as start state.</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
280 <property name="label" translatable="yes">Start State</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
281 <property name="use_underline">True</property> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
282 <signal name="activate" handler="on_start_state_activate"/> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
283 </object> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
284 </child> |
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
285 </object> |
1478 | 286 <object class="GtkDialog" id="state_editor"> |
287 <property name="border_width">5</property> | |
288 <property name="title" translatable="yes">State Editor</property> | |
289 <property name="modal">True</property> | |
290 <property name="window_position">center-on-parent</property> | |
291 <property name="default_height">200</property> | |
292 <property name="type_hint">normal</property> | |
293 <property name="transient_for">FSM_main_win</property> | |
294 <signal name="delete_event" handler="gtk_widget_hide"/> | |
295 <child internal-child="vbox"> | |
296 <object class="GtkVBox" id="dialog-vbox1"> | |
297 <property name="visible">True</property> | |
298 <property name="orientation">vertical</property> | |
299 <property name="spacing">2</property> | |
300 <child> | |
301 <object class="GtkTable" id="table1"> | |
302 <property name="visible">True</property> | |
303 <property name="n_rows">3</property> | |
304 <property name="n_columns">2</property> | |
305 <child> | |
306 <object class="GtkLabel" id="label2"> | |
307 <property name="visible">True</property> | |
308 <property name="label" translatable="yes">Name:</property> | |
309 </object> | |
310 </child> | |
311 <child> | |
312 <object class="GtkLabel" id="label3"> | |
313 <property name="visible">True</property> | |
314 <property name="label" translatable="yes">Radius:</property> | |
315 </object> | |
316 <packing> | |
317 <property name="top_attach">1</property> | |
318 <property name="bottom_attach">2</property> | |
319 </packing> | |
320 </child> | |
321 <child> | |
322 <object class="GtkEntry" id="state_name"> | |
323 <property name="visible">True</property> | |
324 <property name="can_focus">True</property> | |
325 <property name="invisible_char">●</property> | |
326 </object> | |
327 <packing> | |
328 <property name="left_attach">1</property> | |
329 <property name="right_attach">2</property> | |
330 </packing> | |
331 </child> | |
332 <child> | |
333 <object class="GtkEntry" id="state_radius"> | |
334 <property name="visible">True</property> | |
335 <property name="can_focus">True</property> | |
336 <property name="invisible_char">●</property> | |
337 </object> | |
338 <packing> | |
339 <property name="left_attach">1</property> | |
340 <property name="right_attach">2</property> | |
341 <property name="top_attach">1</property> | |
342 <property name="bottom_attach">2</property> | |
343 </packing> | |
344 </child> | |
345 <child> | |
346 <placeholder/> | |
347 </child> | |
348 <child> | |
349 <placeholder/> | |
350 </child> | |
351 </object> | |
352 <packing> | |
353 <property name="expand">False</property> | |
354 <property name="position">1</property> | |
355 </packing> | |
356 </child> | |
357 <child internal-child="action_area"> | |
358 <object class="GtkHButtonBox" id="dialog-action_area1"> | |
359 <property name="visible">True</property> | |
360 <property name="layout_style">end</property> | |
361 <child> | |
362 <object class="GtkButton" id="state_apply"> | |
363 <property name="label">gtk-apply</property> | |
364 <property name="visible">True</property> | |
365 <property name="can_focus">True</property> | |
366 <property name="receives_default">True</property> | |
367 <property name="use_stock">True</property> | |
368 <signal name="clicked" handler="on_state_apply_clicked"/> | |
369 </object> | |
370 <packing> | |
371 <property name="expand">False</property> | |
372 <property name="fill">False</property> | |
373 <property name="position">0</property> | |
374 </packing> | |
375 </child> | |
376 <child> | |
377 <object class="GtkButton" id="state_cancel"> | |
378 <property name="label">gtk-cancel</property> | |
379 <property name="visible">True</property> | |
380 <property name="can_focus">True</property> | |
381 <property name="receives_default">True</property> | |
382 <property name="use_stock">True</property> | |
383 <signal name="clicked" handler="on_state_cancel_clicked"/> | |
384 </object> | |
385 <packing> | |
386 <property name="expand">False</property> | |
387 <property name="fill">False</property> | |
388 <property name="position">1</property> | |
389 </packing> | |
390 </child> | |
391 </object> | |
392 <packing> | |
393 <property name="expand">False</property> | |
394 <property name="pack_type">end</property> | |
395 <property name="position">0</property> | |
396 </packing> | |
397 </child> | |
398 </object> | |
399 </child> | |
400 <action-widgets> | |
401 <action-widget response="0">state_apply</action-widget> | |
402 <action-widget response="0">state_cancel</action-widget> | |
403 </action-widgets> | |
404 </object> | |
405 <object class="GtkDialog" id="error_dialog"> | |
406 <property name="width_request">200</property> | |
407 <property name="height_request">200</property> | |
408 <property name="border_width">5</property> | |
409 <property name="title" translatable="yes">Error</property> | |
410 <property name="resizable">False</property> | |
411 <property name="modal">True</property> | |
412 <property name="type_hint">normal</property> | |
413 <property name="transient_for">state_editor</property> | |
414 <signal name="delete_event" handler="gtk_widget_hide"/> | |
415 <child internal-child="vbox"> | |
416 <object class="GtkVBox" id="dialog-vbox2"> | |
417 <property name="visible">True</property> | |
418 <property name="orientation">vertical</property> | |
419 <property name="spacing">2</property> | |
420 <child> | |
421 <object class="GtkVBox" id="vbox3"> | |
422 <property name="visible">True</property> | |
423 <property name="orientation">vertical</property> | |
424 <child> | |
425 <object class="GtkLabel" id="error_dialog_label"> | |
426 <property name="visible">True</property> | |
427 <property name="label" translatable="yes">Invalid state name. It is a existing state name or invalid in format!</property> | |
428 <property name="wrap">True</property> | |
429 </object> | |
430 <packing> | |
431 <property name="position">0</property> | |
432 </packing> | |
433 </child> | |
434 </object> | |
435 <packing> | |
436 <property name="position">1</property> | |
437 </packing> | |
438 </child> | |
439 <child internal-child="action_area"> | |
440 <object class="GtkHButtonBox" id="dialog-action_area2"> | |
441 <property name="visible">True</property> | |
442 <property name="layout_style">end</property> | |
443 <child> | |
444 <placeholder/> | |
445 </child> | |
446 <child> | |
447 <object class="GtkButton" id="error_dialog_ok"> | |
448 <property name="label">gtk-ok</property> | |
449 <property name="visible">True</property> | |
450 <property name="can_focus">True</property> | |
451 <property name="receives_default">True</property> | |
452 <property name="use_stock">True</property> | |
453 <signal name="clicked" handler="on_error_dialog_ok_clicked"/> | |
454 </object> | |
455 <packing> | |
456 <property name="expand">False</property> | |
457 <property name="fill">False</property> | |
458 <property name="position">1</property> | |
459 </packing> | |
460 </child> | |
461 </object> | |
462 <packing> | |
463 <property name="expand">False</property> | |
464 <property name="pack_type">end</property> | |
465 <property name="position">0</property> | |
466 </packing> | |
467 </child> | |
468 </object> | |
469 </child> | |
470 <action-widgets> | |
471 <action-widget response="0">error_dialog_ok</action-widget> | |
472 </action-widgets> | |
473 </object> | |
1488
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
474 <object class="GtkMenu" id="state_menu"> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
475 <property name="visible">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
476 <child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
477 <object class="GtkMenuItem" id="add_transition"> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
478 <property name="visible">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
479 <property name="tooltip_text" translatable="yes">Add a transition to the state</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
480 <property name="label" translatable="yes">Add Transition</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
481 <property name="use_underline">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
482 <signal name="activate" handler="on_add_transition_activate"/> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
483 </object> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
484 </child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
485 <child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
486 <object class="GtkMenuItem" id="del_state"> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
487 <property name="visible">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
488 <property name="tooltip_text" translatable="yes">Delete selecting state</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
489 <property name="label" translatable="yes">Del State</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
490 <property name="use_underline">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
491 <signal name="activate" handler="on_del_state_activate"/> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
492 </object> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
493 </child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
494 <child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
495 <object class="GtkMenuItem" id="edit_state"> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
496 <property name="visible">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
497 <property name="tooltip_text" translatable="yes">Edit properties of the state.</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
498 <property name="label" translatable="yes">Edit State</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
499 <property name="use_underline">True</property> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
500 <signal name="activate" handler="on_edit_state_activate"/> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
501 </object> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
502 </child> |
757c5626d15d
Show context menu for states
Thinker K.F. Li <thinker@codemud.net>
parents:
1479
diff
changeset
|
503 </object> |
1456
894a4bf35fe6
Start implement FSM editor window
Thinker K.F. Li <thinker@codemud.net>
parents:
diff
changeset
|
504 </interface> |