<?xml version="1.0"?>
<!-- generated by wxGlade 0.8.0b4 on Wed Mar 21 13:47:54 2018 -->

<application encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" option="0" overwrite="1" path="matplotlib_GUI.py" source_extension=".cpp" top_window="frame" use_gettext="0" use_new_namespace="1">
    <object class="MyFrame" name="frame" base="EditFrame">
        <title>Matplotlib canvas example</title>
        <style>wxDEFAULT_FRAME_STYLE</style>
        <menubar>1</menubar>
        <object class="wxMenuBar" name="frame_menubar" base="EditMenuBar">
            <menus>
                <menu label="&amp;File" name="">
                    <item>
                        <label>&amp;Save figure as...</label>
                        <handler>on_file_save</handler>
                    </item>
                    <item>
                        <label>E&amp;xit</label>
                        <handler>on_file_exit</handler>
                    </item>
                </menu>
            </menus>
        </object>
        <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
            <orient>wxVERTICAL</orient>
            <object class="sizeritem">
                <option>2</option>
                <border>0</border>
                <flag>wxALL|wxEXPAND</flag>
                <object class="matplotlib_canvas.MatplotlibCanvas" name="canvas" base="CustomWidget">
                    <extracode>import matplotlib_canvas\n</extracode>
                    <extracode_post>#self.controller = matplotlib_canvas.NavigationController2(self.canvas)\n</extracode_post>
                    <size>100, 100</size>
                    <arguments>
                        <argument>$parent</argument>
                        <argument>$id</argument>
                    </arguments>
                </object>
            </object>
            <object class="sizeritem">
                <option>1</option>
                <border>0</border>
                <flag>wxEXPAND</flag>
                <object class="wxNotebook" name="notebook_3" base="EditNotebook">
                    <style>wxNB_TOP</style>
                    <tabs>
                        <tab window="notebook_3_pane_1">GUI</tab>
                        <tab window="notebook_3_Shell">Shell</tab>
                    </tabs>
                    <object class="wxPanel" name="notebook_3_pane_1" base="EditPanel">
                        <style>wxTAB_TRAVERSAL</style>
                        <object class="wxBoxSizer" name="sizer_19" base="EditBoxSizer">
                            <orient>wxVERTICAL</orient>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>0</border>
                                <flag>wxEXPAND</flag>
                                <object class="wxStaticBoxSizer" name="sizer_13" base="EditStaticBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <label>Cursor and Mouse</label>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>5</border>
                                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_21" base="EditStaticText">
                                            <label>x/y:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>2</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxTextCtrl" name="text_cursor_xy_pixel" base="EditTextCtrl">
                                            <size>40, -1</size>
                                            <tooltip>Last cursor position in pixels on canvas</tooltip>
                                            <style>wxTE_READONLY</style>
                                            <value>px</value>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>2</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxTextCtrl" name="text_cursor_xy_value" base="EditTextCtrl">
                                            <size>40, -1</size>
                                            <tooltip>Last cursor position in axis values</tooltip>
                                            <style>wxTE_READONLY</style>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>0</border>
                                        <flag>wxEXPAND</flag>
                                        <object class="spacer" name="spacer" base="EditSpacer">
                                            <width>20</width>
                                            <height>20</height>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>30</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_23" base="EditStaticText">
                                            <label>Mouse action:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxChoice" name="choice_mouse_action" base="EditChoice">
                                            <events>
                                                <handler event="EVT_CHOICE">on_choice_mouse_action</handler>
                                            </events>
                                            <tooltip>Pick: click on element to e.g. delete them\nPan/Zoom: pan with left, zoom with right button\nZoom: zoom to rectangle</tooltip>
                                            <selection>0</selection>
                                            <choices>
                                                <choice>None/Pick</choice>
                                                <choice>Pan/Zoom</choice>
                                                <choice>Zoom</choice>
                                            </choices>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>30</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_24" base="EditStaticText">
                                            <tooltip>Zoom history (not yet implemented)</tooltip>
                                            <label>Zoom:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_zoom_hist_home" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_zoom_history("home")</handler>
                                            </events>
                                            <size>18, -1</size>
                                            <tooltip>Zoom history: home</tooltip>
                                            <label>|</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_zoom_hist_back" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_zoom_history("back")</handler>
                                            </events>
                                            <size>18, -1</size>
                                            <tooltip>Zoom history: go back</tooltip>
                                            <disabled>1</disabled>
                                            <label>&lt;</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_zoom_hist_forward" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_zoom_history("forward")</handler>
                                            </events>
                                            <size>18, -1</size>
                                            <tooltip>Zoom history: go forward</tooltip>
                                            <disabled>1</disabled>
                                            <label>&gt;</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>4</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_autoscale" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">on_button_autoscale</handler>
                                            </events>
                                            <size>18, -1</size>
                                            <tooltip>auto scale axes</tooltip>
                                            <label>A</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>30</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_22" base="EditStaticText">
                                            <label>Picked:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>4</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxTextCtrl" name="text_picked" base="EditTextCtrl">
                                            <size>60, -1</size>
                                            <style>wxTE_READONLY</style>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>6</border>
                                        <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxCheckBox" name="checkbox_pick_delete" base="EditCheckBox">
                                            <label>Delete on click</label>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>3</border>
                                <flag>wxALL|wxEXPAND</flag>
                                <object class="wxStaticBoxSizer" name="sizer_12" base="EditStaticBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <label>Canvas Control</label>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>5</border>
                                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_25" base="EditStaticText">
                                            <tooltip>Zoom history (not yet implemented)</tooltip>
                                            <label>Size:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxChoice" name="choice_canvas_size" base="EditChoice">
                                            <events>
                                                <handler event="EVT_CHOICE">on_choice_canvas_size</handler>
                                            </events>
                                            <tooltip>change canvas size</tooltip>
                                            <selection>0</selection>
                                            <choices>
                                                <choice>Variable</choice>
                                                <choice>400x300</choice>
                                                <choice>800x600</choice>
                                                <choice>1024x768</choice>
                                                <choice>1600x1200</choice>
                                            </choices>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>30</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_15" base="EditStaticText">
                                            <tooltip>Subplot layout; will only be applied on next Clear</tooltip>
                                            <label>Subplots:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxChoice" name="choice_subplots" base="EditChoice">
                                            <events>
                                                <handler event="EVT_CHOICE">on_choice_subplots</handler>
                                            </events>
                                            <tooltip>Subplot layout rows x columns; will only be applied on next Clear\n</tooltip>
                                            <selection>0</selection>
                                            <choices>
                                                <choice>1x1</choice>
                                                <choice>1x2</choice>
                                                <choice>2x1</choice>
                                                <choice>2x2</choice>
                                                <choice>2x3</choice>
                                            </choices>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>30</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_clear_plots" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_clear("plots")</handler>
                                            </events>
                                            <label>Clear plots</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>8</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_clear_figures" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_clear("figures")</handler>
                                            </events>
                                            <disabled>1</disabled>
                                            <label>Clear figures</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>8</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxButton" name="button_clear_all" base="EditButton">
                                            <events>
                                                <handler event="EVT_BUTTON">lambda e: self.on_button_clear("all")</handler>
                                            </events>
                                            <label>Clear all</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>0</border>
                                        <flag>wxEXPAND</flag>
                                        <object class="spacer" name="spacer" base="EditSpacer">
                                            <width>20</width>
                                            <height>20</height>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <object class="wxToggleButton" name="button_multicursor" base="EditToggleButton">
                                            <events>
                                                <handler event="EVT_TOGGLEBUTTON">on_button_multicursor</handler>
                                            </events>
                                            <tooltip>Show synchronized cursor on all plots, if multiple sublplots are enabled/plotted.</tooltip>
                                            <label>Multicursor</label>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>3</border>
                                <flag>wxALL|wxEXPAND</flag>
                                <object class="wxStaticBoxSizer" name="sizer_8" base="EditStaticBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <label>Add Function Plots</label>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>5</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
                                            <orient>wxHORIZONTAL</orient>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>5</border>
                                                <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="label_4" base="EditStaticText">
                                                    <label>f(x) = </label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>0</border>
                                                <object class="wxTextCtrl" name="text_function" base="EditTextCtrl">
                                                    <events>
                                                        <handler event="EVT_TEXT_ENTER">on_button_plot</handler>
                                                    </events>
                                                    <style>wxTE_PROCESS_ENTER</style>
                                                    <value>sin(x)</value>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>5</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
                                            <orient>wxHORIZONTAL</orient>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="label_1" base="EditStaticText">
                                                    <label>xmin</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxTextCtrl" name="text_plot_xmin" base="EditTextCtrl">
                                                    <events>
                                                        <handler event="EVT_TEXT_ENTER">on_button_plot</handler>
                                                    </events>
                                                    <size>40, -1</size>
                                                    <style>wxTE_PROCESS_ENTER</style>
                                                    <value>0</value>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="label_2" base="EditStaticText">
                                                    <label>xmax</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxTextCtrl" name="text_plot_xmax" base="EditTextCtrl">
                                                    <events>
                                                        <handler event="EVT_TEXT_ENTER">on_button_plot</handler>
                                                    </events>
                                                    <size>40, -1</size>
                                                    <style>wxTE_PROCESS_ENTER</style>
                                                    <value>10</value>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>5</border>
                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="label_3" base="EditStaticText">
                                                    <label>step</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxTextCtrl" name="text_plot_xstep" base="EditTextCtrl">
                                                    <events>
                                                        <handler event="EVT_TEXT_ENTER">on_button_plot</handler>
                                                    </events>
                                                    <size>40, -1</size>
                                                    <style>wxTE_PROCESS_ENTER</style>
                                                    <value>0.1</value>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>0</border>
                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                    <width>20</width>
                                                    <height>20</height>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>5</border>
                                                <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="label_19" base="EditStaticText">
                                                    <label>Subplot position:</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxChoice" name="choice_subplot" base="EditChoice">
                                                    <events>
                                                        <handler event="EVT_CHOICE">on_choice_subplot</handler>
                                                    </events>
                                                    <tooltip>not yet implemented</tooltip>
                                                    <selection>0</selection>
                                                    <choices>
                                                        <choice>top left</choice>
                                                        <choice>top right</choice>
                                                        <choice>bottom left</choice>
                                                        <choice>bottom right</choice>
                                                    </choices>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxButton" name="button_plot" base="EditButton">
                                                    <events>
                                                        <handler event="EVT_BUTTON">on_button_plot</handler>
                                                    </events>
                                                    <label>Plot</label>
                                                    <default>1</default>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>0</border>
                                <flag>wxEXPAND</flag>
                                <object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>3</border>
                                        <flag>wxALL</flag>
                                        <object class="wxStaticBoxSizer" name="sizer_14" base="EditStaticBoxSizer">
                                            <orient>wxHORIZONTAL</orient>
                                            <label>Add Figures (on plot area, by axis coordinates)</label>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>0</border>
                                                <object class="wxNotebook" name="notebook_2" base="EditNotebook">
                                                    <style>wxNB_TOP</style>
                                                    <tabs>
                                                        <tab window="notebook_2_line">Add Line</tab>
                                                        <tab window="notebook_2_AddRectangle">Add Rectangle</tab>
                                                        <tab window="notebook_2_circle">Add Circle</tab>
                                                    </tabs>
                                                    <object class="wxPanel" name="notebook_2_line" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_15" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_29" base="EditStaticText">
                                                                    <label>x0</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_line_x0" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>3</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_31" base="EditStaticText">
                                                                    <label>y0</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_line_y0" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>0</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_32" base="EditStaticText">
                                                                    <label>x1</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_line_x1" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>10</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_33" base="EditStaticText">
                                                                    <label>y1</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_line_y1" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>2</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <object class="wxButton" name="button_plot_line" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_plot_line</handler>
                                                                    </events>
                                                                    <label>Plot Line</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                    <object class="wxPanel" name="notebook_2_AddRectangle" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_16" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_35" base="EditStaticText">
                                                                    <label>corner x</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_rect_x" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>2</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_36" base="EditStaticText">
                                                                    <label>y</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_rect_y" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>0.5</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_37" base="EditStaticText">
                                                                    <label>width</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_rect_width" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>3</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_38" base="EditStaticText">
                                                                    <label>height</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_rect_height" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>3</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_40" base="EditStaticText">
                                                                    <label>angle</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_rect_angle" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>15</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_41" base="EditStaticText">
                                                                    <label>°</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <object class="wxButton" name="button_plot_rect" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_plot_rect</handler>
                                                                    </events>
                                                                    <label>Plot Rectangle</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                    <object class="wxPanel" name="notebook_2_circle" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_17" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_42" base="EditStaticText">
                                                                    <label>center x</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_circle_x" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>5 </value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_43" base="EditStaticText">
                                                                    <label>y</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_circle_y" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>0</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_44" base="EditStaticText">
                                                                    <label>radius</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_plot_circle_radius" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_plot_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>1</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <object class="wxButton" name="button_plot_circle" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_plot_circle</handler>
                                                                    </events>
                                                                    <label>Plot Circle</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>3</border>
                                        <flag>wxALL</flag>
                                        <object class="wxStaticBoxSizer" name="sizer_9" base="EditStaticBoxSizer">
                                            <orient>wxHORIZONTAL</orient>
                                            <label>Add Figures (on canvas, by pixels)</label>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>0</border>
                                                <object class="wxNotebook" name="notebook_1" base="EditNotebook">
                                                    <style>wxNB_TOP</style>
                                                    <tabs>
                                                        <tab window="notebook_1_line">Add Line</tab>
                                                        <tab window="notebook_1_AddRectangle">Add Rectangle</tab>
                                                        <tab window="notebook_1_circle">Add Circle</tab>
                                                    </tabs>
                                                    <object class="wxPanel" name="notebook_1_line" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_5" base="EditStaticText">
                                                                    <label>x0</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_line_x0" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>10</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_6" base="EditStaticText">
                                                                    <label>y0</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_line_y0" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>10</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_7" base="EditStaticText">
                                                                    <label>x1</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_line_x1" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>100</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_8" base="EditStaticText">
                                                                    <label>y1</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_line_y1" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_line</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>100</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_9" base="EditStaticText">
                                                                    <label>pixels</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxButton" name="button_draw_line" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_draw_line</handler>
                                                                    </events>
                                                                    <label>Draw Line</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                    <object class="wxPanel" name="notebook_1_AddRectangle" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_10" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_10" base="EditStaticText">
                                                                    <label>corner x</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_rect_x" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>100</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_11" base="EditStaticText">
                                                                    <label>y</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_rect_y" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>10</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_12" base="EditStaticText">
                                                                    <label>width</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_rect_width" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>100</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_13" base="EditStaticText">
                                                                    <label>height</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_rect_height" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>100</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_14" base="EditStaticText">
                                                                    <label>pixels</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_16" base="EditStaticText">
                                                                    <label>angle</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_rect_angle" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>0</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_17" base="EditStaticText">
                                                                    <label>°</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <object class="wxButton" name="button_draw_rect" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_draw_rect</handler>
                                                                    </events>
                                                                    <label>Draw Rectangle</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                    <object class="wxPanel" name="notebook_1_circle" base="EditPanel">
                                                        <style>wxTAB_TRAVERSAL</style>
                                                        <object class="wxBoxSizer" name="sizer_11" base="EditBoxSizer">
                                                            <orient>wxHORIZONTAL</orient>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_26" base="EditStaticText">
                                                                    <label>center x</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_circle_x" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>300</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_27" base="EditStaticText">
                                                                    <label>y</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_circle_y" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>200</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>5</border>
                                                                <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_28" base="EditStaticText">
                                                                    <label>radius</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxTextCtrl" name="text_circle_radius" base="EditTextCtrl">
                                                                    <events>
                                                                        <handler event="EVT_TEXT_ENTER">on_button_draw_circle</handler>
                                                                    </events>
                                                                    <size>40, -1</size>
                                                                    <style>wxTE_PROCESS_ENTER</style>
                                                                    <value>10</value>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="label_30" base="EditStaticText">
                                                                    <label>pixels</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>1</option>
                                                                <border>0</border>
                                                                <object class="spacer" name="spacer" base="EditSpacer">
                                                                    <width>20</width>
                                                                    <height>20</height>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <option>0</option>
                                                                <border>0</border>
                                                                <object class="wxButton" name="button_draw_circle" base="EditButton">
                                                                    <events>
                                                                        <handler event="EVT_BUTTON">on_button_draw_circle</handler>
                                                                    </events>
                                                                    <label>Draw Circle</label>
                                                                    <default>1</default>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>0</border>
                                <flag>wxEXPAND</flag>
                                <object class="wxStaticBoxSizer" name="sizer_18" base="EditStaticBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <label>Colours etc</label>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>5</border>
                                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_20" base="EditStaticText">
                                            <label>Line colour:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxComboBox" name="combo_box_colour" base="EditComboBox">
                                            <events>
                                                <handler event="EVT_COMBOBOX">on_combo_colour</handler>
                                                <handler event="EVT_TEXT">on_combo_colour</handler>
                                                <handler event="EVT_TEXT_ENTER">on_combo_colour</handler>
                                            </events>
                                            <tooltip>not yet implemented</tooltip>
                                            <style>wxCB_DROPDOWN|wxCB_READONLY</style>
                                            <selection>0</selection>
                                            <choices>
                                                <choice>black</choice>
                                                <choice>red</choice>
                                                <choice>green</choice>
                                                <choice>blue</choice>
                                                <choice>yellow</choice>
                                            </choices>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_18" base="EditStaticText">
                                            <label>Line width:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxComboBox" name="combo_box_line_width" base="EditComboBox">
                                            <events>
                                                <handler event="EVT_COMBOBOX">on_combo_line_width</handler>
                                                <handler event="EVT_TEXT">on_combo_line_width</handler>
                                                <handler event="EVT_TEXT_ENTER">on_combo_line_width</handler>
                                            </events>
                                            <size>50, -1</size>
                                            <tooltip>not yet implemented</tooltip>
                                            <style>wxCB_DROPDOWN|wxCB_READONLY</style>
                                            <selection>3</selection>
                                            <choices>
                                                <choice>0.1</choice>
                                                <choice>0.2</choice>
                                                <choice>0.5</choice>
                                                <choice>1</choice>
                                                <choice>2</choice>
                                            </choices>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxStaticText" name="label_46" base="EditStaticText">
                                            <label>Line style:</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>0</border>
                                        <flag>wxALIGN_CENTER_VERTICAL</flag>
                                        <object class="wxChoice" name="choice_line_style" base="EditChoice">
                                            <events>
                                                <handler event="EVT_CHOICE">on_choice_line_style</handler>
                                            </events>
                                            <selection>0</selection>
                                            <choices>
                                                <choice> -  solid</choice>
                                                <choice> -- dashed</choice>
                                                <choice> -. dash dot</choice>
                                                <choice> :  dotted</choice>
                                            </choices>
                                        </object>
                                    </object>
                                </object>
                            </object>
                        </object>
                    </object>
                    <object class="wxPanel" name="notebook_3_Shell" base="EditPanel">
                        <style>wxTAB_TRAVERSAL</style>
                        <object class="wxStaticBoxSizer" name="sizer_7" base="EditStaticBoxSizer">
                            <orient>wxVERTICAL</orient>
                            <label>Shell</label>
                            <object class="sizeritem">
                                <option>2</option>
                                <border>0</border>
                                <flag>wxEXPAND</flag>
                                <object class="wx.py.shell.Shell" name="shell" base="CustomWidget">
                                    <extracode>import wx.py.shell\n</extracode>
                                    <extracode_post># insert some variables into the shell's locals\nself.shell.interp.locals["frame"]  = self\nself.shell.interp.locals["shell2"] = self.shell\nself.shell.interp.locals["canvas"] = self.canvas</extracode_post>
                                    <arguments>
                                        <argument>$parent</argument>
                                        <argument>$id</argument>
                                        <argument>introText = "\nThis is the shell.\nHave a look at the variables 'app', 'frame', 'canvas' and 'shell'.\n"</argument>
                                    </arguments>
                                </object>
                            </object>
                        </object>
                    </object>
                </object>
            </object>
        </object>
    </object>
</application>
