Mercurial > MadButterfly
diff 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 |
line wrap: on
line diff
--- a/pyink/FSM_window.glade Sat Apr 30 11:18:44 2011 +0800 +++ b/pyink/FSM_window.glade Sat Apr 30 15:22:45 2011 +0800 @@ -471,4 +471,34 @@ <action-widget response="0">error_dialog_ok</action-widget> </action-widgets> </object> + <object class="GtkMenu" id="state_menu"> + <property name="visible">True</property> + <child> + <object class="GtkMenuItem" id="add_transition"> + <property name="visible">True</property> + <property name="tooltip_text" translatable="yes">Add a transition to the state</property> + <property name="label" translatable="yes">Add Transition</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_add_transition_activate"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="del_state"> + <property name="visible">True</property> + <property name="tooltip_text" translatable="yes">Delete selecting state</property> + <property name="label" translatable="yes">Del State</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_del_state_activate"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="edit_state"> + <property name="visible">True</property> + <property name="tooltip_text" translatable="yes">Edit properties of the state.</property> + <property name="label" translatable="yes">Edit State</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_edit_state_activate"/> + </object> + </child> + </object> </interface>