Enhanced wxGlade GUI creation.
- Frame object name now have same name as in editor
- Closing the frame replace object by None, warn user, and recreate frame
<?xml version="1.0"?>
<!-- generated by wxGlade 0.6.3 on Sat Jan 17 03:40:12 2009 -->
<application path="" name="" class="" option="0" language="python" top_window="frame_1" encoding="UTF-8" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0">
<object class="HMIFrame" name="frame_1" base="EditFrame">
<style>wxDEFAULT_FRAME_STYLE</style>
<title>frame_1</title>
<object class="wxGridSizer" name="grid_sizer_1" base="EditGridSizer">
<hgap>0</hgap>
<rows>3</rows>
<cols>3</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxFlexGridSizer" name="sizer_3" base="EditFlexGridSizer">
<hgap>0</hgap>
<growable_rows>0,1</growable_rows>
<rows>2</rows>
<growable_cols>0</growable_cols>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_1" base="EditButton">
<label>Joystick</label>
<events>
<handler event="EVT_BUTTON">start_manu</handler>
</events>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_1_copy" base="EditButton">
<label>Auto</label>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_X" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Axis X</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_2" base="EditGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSpinCtrl" name="spin_ctrl_X" base="EditSpinCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_3" base="EditGridSizer">
<hgap>0</hgap>
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">
<label>Lock</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3" base="EditButton">
<label>Set</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_A" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Axis A</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_2_copy" base="EditGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSpinCtrl" name="spin_ctrl_A" base="EditSpinCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_3_copy_2" base="EditGridSizer">
<hgap>0</hgap>
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxRadioButton" name="radio_btn_1_copy_2" base="EditRadioButton">
<label>Lock</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3_copy_2" base="EditButton">
<label>Set</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_1" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Status</label>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_1" base="EditStaticText">
<attribute>1</attribute>
<label>wiimote not connected</label>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_Y" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Axis Y</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_2_copy_1" base="EditGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSpinCtrl" name="spin_ctrl_Y" base="EditSpinCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_3_copy" base="EditGridSizer">
<hgap>0</hgap>
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxRadioButton" name="radio_btn_1_copy" base="EditRadioButton">
<label>Lock</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3_copy" base="EditButton">
<label>Set</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_B" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Axis B</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_2_copy_2" base="EditGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSpinCtrl" name="spin_ctrl_B" base="EditSpinCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_3_copy_3" base="EditGridSizer">
<hgap>0</hgap>
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxRadioButton" name="radio_btn_1_copy_3" base="EditRadioButton">
<label>Lock</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3_copy_3" base="EditButton">
<label>Set</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_2" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Speed Control</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_2" base="EditStaticText">
<style>wxALIGN_CENTRE</style>
<attribute>1</attribute>
<label>Max Speed</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSlider" name="slider_1_copy" base="EditSlider">
<style>wxSL_HORIZONTAL|wxSL_AUTOTICKS|wxSL_LABELS</style>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_2_copy" base="EditStaticText">
<style>wxALIGN_CENTRE</style>
<attribute>1</attribute>
<label>Max Acceleration</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSlider" name="slider_1" base="EditSlider">
<style>wxSL_HORIZONTAL|wxSL_AUTOTICKS|wxSL_LABELS</style>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_Z" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Axis Z</label>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_2_copy_3" base="EditGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxSpinCtrl" name="spin_ctrl_Z" base="EditSpinCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxGridSizer" name="grid_sizer_3_copy_1" base="EditGridSizer">
<hgap>0</hgap>
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxRadioButton" name="radio_btn_1_copy_1" base="EditRadioButton">
<label>Lock</label>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3_copy_1" base="EditButton">
<label>Set</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_2" base="EditButton">
<foreground>#ff0000</foreground>
<stockitem>STOP</stockitem>
<label>&Stop</label>
<font>
<size>20</size>
<family>default</family>
<style>normal</style>
<weight>normal</weight>
<underlined>0</underlined>
<face></face>
</font>
</object>
</object>
</object>
</object>
</application>