blob: 2de468af8f06c8d35086658b8c59d3d8f28c09d6 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0"?>
<toolbar>
<!-- scinotes -->
<button icon="accessories-text-editor" tooltiptext="Launch SciNotes">
<callback instruction="editor()" type="0"/>
</button>
<!-- Open File -->
<button icon="document-open" tooltiptext="Open a file">
<callback instruction=" %fileToOpen = uigetfile("*.sc*", pwd(), gettext("Select a file to open with SciNotes"),%t); if %fileToOpen ~= "" then editor(%fileToOpen); end clear("%fileToOpen");" type="0"/>
</button>
<separator/>
<!-- Copy -->
<button icon="edit-cut" tooltiptext="Cut">
<callback instruction="org.scilab.modules.gui.bridge.CallScilabBridge.cutConsoleSelection" type="3"/>
</button>
<button icon="edit-copy" tooltiptext="Copy">
<callback instruction="org.scilab.modules.gui.bridge.CallScilabBridge.copyConsoleSelection" type="3"/>
</button>
<!-- Paste -->
<button icon="edit-paste" tooltiptext="Paste">
<callback instruction="org.scilab.modules.gui.bridge.CallScilabBridge.pasteClipboardIntoConsole" type="3"/>
</button>
<separator/>
<!-- Clear -->
<button icon="edit-clear" tooltiptext="Clear Console">
<callback instruction="clc();" type="0"/>
</button>
<separator/>
<!-- Print -->
<button icon="printer" tooltiptext="Print...">
<callback instruction="org.scilab.modules.gui.bridge.CallScilabBridge.printConsoleContents" type="3"/>
</button>
<separator/>
<!-- Atoms -->
<button icon="package-x-generic" tooltiptext="Module manager - ATOMS">
<callback instruction="if with_module("atoms") then atomsGui(); else disp(gettext("Please install atoms module.")); end" type="0"/>
</button>
<separator/>
<!-- Xcos -->
<button icon="utilities-system-monitor" tooltiptext="Xcos">
<callback instruction="if with_module("xcos") then xcos(); else disp(gettext("Please install xcos module.")); end" type="0"/>
</button>
<separator/>
<!-- Preferences -->
<button icon="preferences-system" tooltiptext="Scilab Preferences">
<callback instruction='org.scilab.modules.preferences.XConfigManager.openPreferences' type="3"/>
</button>
<separator/>
<!-- Démos -->
<button icon="applications-system" tooltiptext="Scilab Demonstrations">
<callback instruction="demo_gui();" type="0"/>
</button>
<!-- Help -->
<button icon="help-browser" tooltiptext="Help Browser">
<callback instruction="help();" type="0"/>
</button>
</toolbar>
|