summaryrefslogtreecommitdiff
path: root/modules/gui/etc/graphics_toolbar.xml
blob: 7057be343c02aae74ebdee7ffb7e4c8278548859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<toolbar>
    <!-- [SCILAB_FIGURE_ID] pattern is replaced at generation of Java menu by the ID of the figure -->
    <!-- Rotate -->
    <button icon="transform-rotate" tooltiptext="Rotate">
        <callback instruction="set(get_figure_handle([SCILAB_FIGURE_ID]), 'info_message', 'Right click and drag to rotate.')" type="-2"/>
    </button>
    <separator/>
    <!-- Zoom Area -->
    <button icon="zoom-fit-selection" tooltiptext="Zoom Area">
        <callback instruction="zoom_rect(get_figure_handle([SCILAB_FIGURE_ID]))" type="-2"/>
    </button>
    <!-- Original View -->
    <button icon="zoom-original" tooltiptext="Original View">
        <callback instruction="unzoom(get_figure_handle([SCILAB_FIGURE_ID]))" type="-2"/>
    </button>
    <separator/>
    <!-- Datatips -->
    <button icon="datatips" tooltiptext="Toggle datatip mode" toggle="true">
        <callback instruction="datatipManagerMode(get_figure_handle([SCILAB_FIGURE_ID]))" type="-2"/>
    </button>
    <!-- Scilab Graphic Editor -->
    <!--
    <button icon="plot" tooltiptext="Open the graphics editor">
        <callback instruction="openged([SCILAB_FIGURE_ID])" type="-2"/>
    </button>
    -->
    <button icon="data_modify" tooltiptext="Toggle curve data modification" toggle="true">
        <callback instruction="useeditor([SCILAB_FIGURE_ID])" type="-2"/>
    </button>
    <separator/>
    <!-- Help -->
    <button icon="help-browser" tooltiptext="Help Browser">
        <callback instruction="help();" type="-2"/>
    </button>
</toolbar>