Mercurial > MadButterfly
view pyink/FSM_window.glade @ 1464:28769a82a72d
Raise a maningful exception for traits that is not ready
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 17 Apr 2011 21:34:49 +0800 |
parents | 416a18409603 |
children | e217c7743905 |
line wrap: on
line source
<?xml version="1.0"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy project-wide --> <object class="GtkWindow" id="FSM_main_win"> <property name="width_request">500</property> <property name="height_request">400</property> <property name="title" translatable="yes">FSM</property> <property name="modal">True</property> <signal name="destroy_event" handler="on_FSM_main_win_destroy_event"/> <signal name="delete_event" handler="on_FSM_main_win_delete_event"/> <child> <object class="GtkVBox" id="vbox1"> <property name="visible">True</property> <property name="orientation">vertical</property> <child> <object class="GtkMenuBar" id="menubar1"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="menuitem1"> <property name="visible">True</property> <property name="label" translatable="yes">_File</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="menu1"> <property name="visible">True</property> <child> <object class="GtkImageMenuItem" id="close_window"> <property name="label">gtk-close</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="on_close_window_activate"/> </object> </child> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="menuitem2"> <property name="visible">True</property> <property name="label" translatable="yes">_Edit</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="menu2"> <property name="visible">True</property> <child> <object class="GtkImageMenuItem" id="imagemenuitem6"> <property name="label">gtk-cut</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> </object> </child> <child> <object class="GtkImageMenuItem" id="imagemenuitem7"> <property name="label">gtk-copy</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> </object> </child> <child> <object class="GtkImageMenuItem" id="imagemenuitem8"> <property name="label">gtk-paste</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> </object> </child> <child> <object class="GtkImageMenuItem" id="imagemenuitem9"> <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> </object> </child> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="menuitem3"> <property name="visible">True</property> <property name="label" translatable="yes">_View</property> <property name="use_underline">True</property> </object> </child> <child> <object class="GtkMenuItem" id="menuitem4"> <property name="visible">True</property> <property name="label" translatable="yes">_Help</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="menu3"> <property name="visible">True</property> <child> <object class="GtkImageMenuItem" id="imagemenuitem10"> <property name="label">gtk-about</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> </object> </child> </object> </child> </object> </child> </object> <packing> <property name="expand">False</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkHandleBox" id="handlebox1"> <property name="visible">True</property> <child> <object class="GtkToolbar" id="toolbar1"> <property name="visible">True</property> <property name="toolbar_style">icons</property> <property name="icon_size">1</property> <property name="icon_size_set">True</property> <child> <object class="GtkToggleToolButton" id="add_state"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Add state</property> <property name="label" translatable="yes">Add State</property> <property name="use_underline">True</property> <property name="stock_id">gtk-add</property> <signal name="toggled" handler="on_add_state_toggled"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToggleToolButton" id="move_state"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Move or select a state</property> <property name="label" translatable="yes">select & move</property> <property name="use_underline">True</property> <property name="icon_name">widget-gtk-alignment</property> <signal name="toggled" handler="on_move_state_toggled"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkSeparatorToolItem" id="toolbutton1"> <property name="visible">True</property> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToolButton" id="zoom_in"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Zoom-in</property> <property name="label" translatable="yes">Zoom-in</property> <property name="use_underline">True</property> <property name="stock_id">gtk-zoom-in</property> <signal name="clicked" handler="on_zoom_in_clicked"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToolButton" id="zoom_out"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Zoom-out</property> <property name="label" translatable="yes">Zoom-out</property> <property name="use_underline">True</property> <property name="stock_id">gtk-zoom-out</property> <signal name="clicked" handler="on_zoom_out_clicked"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> </object> </child> </object> <packing> <property name="expand">False</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkScrolledWindow" id="svg_scroll"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hscrollbar_policy">automatic</property> <property name="vscrollbar_policy">automatic</property> <child> <object class="GtkViewport" id="view_box"> <property name="visible">True</property> <property name="resize_mode">queue</property> <child> <placeholder/> </child> </object> </child> </object> <packing> <property name="position">2</property> </packing> </child> <child> <object class="GtkStatusbar" id="statusbar1"> <property name="visible">True</property> <property name="spacing">5</property> <child> <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="xalign">0.10000000149011612</property> <property name="label" translatable="yes">Compnent:</property> </object> <packing> <property name="expand">False</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="comp_name"> <property name="visible">True</property> <property name="xpad">5</property> <property name="label" translatable="yes">component1</property> </object> <packing> <property name="expand">False</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="position">0</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="position">3</property> </packing> </child> </object> </child> </object> <object class="GtkMenu" id="fsm_context"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="remove_state"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Remove selected state or transition.</property> <property name="label" translatable="yes">Remove</property> <property name="use_underline">True</property> <signal name="activate" handler="on_remove_state_activate"/> </object> </child> <child> <object class="GtkMenuItem" id="rename_state"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Change state name</property> <property name="label" translatable="yes">Rename</property> <property name="use_underline">True</property> <signal name="activate" handler="on_rename_state_activate"/> </object> </child> <child> <object class="GtkMenuItem" id="start_state"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Make the selected state as start state.</property> <property name="label" translatable="yes">Start State</property> <property name="use_underline">True</property> <signal name="activate" handler="on_start_state_activate"/> </object> </child> </object> </interface>