File: sciGUIdemo.dpf

package info (click to toggle)
scilab 4.0-12
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 100,640 kB
  • ctags: 57,333
  • sloc: ansic: 377,889; fortran: 242,862; xml: 179,819; tcl: 42,062; sh: 10,593; ml: 9,441; makefile: 4,377; cpp: 1,354; java: 621; csh: 260; yacc: 247; perl: 130; lex: 126; asm: 72; lisp: 30
file content (58 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (2)
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
58
# sciGUI demo
# by Jaime Urzua
#    mailto:jaime_urzua@yahoo.com
<slide>
<img>logo01.gif
<tx>sciGUI is a GUI collection developed by Jaime Urzua.
<tx>
<tx>The code is a mix of scilab + Tk/Tcl and some extra files.
<tx>
<tx>Press "next" button to show somes examples.

<slide silen>waitbar
<tx>This is an example of waitbar:
<tx>
<cm>winId=waitbar(0,"Example of waitbar");
<cm>realtimeinit(0.5);
<cm>for j=0:0.1:1,
<cm> realtime(j*5);
<cm> waitbar(j,winId);
<cm>end;
<cm>winclose(winId);

<slide>progressionbar
<tx>This is an example of progressionbar:
<tx>
<cm>winId=progressionbar("This is an example");
<cm>realtimeinit(0.5);
<cm>for j=0:0.1:1,
<cm> realtime(j*5);
<cm> progressionbar(winId);
<cm>end;
<cm>winclose(winId);

<slide>buttondialog
<tx>This is an example of buttondialog:
<cm>op=buttondialog("Choose an option","use internal|use external|later")
<cm>select op,
<cm> case 0 then disp('Choose somethig!');
<cm> case 1 then disp('Internal');
<cm> case 2 then disp('External');
<cm> case 3 then disp('Later');
<cm>end;
<slide>Variable browser
<tx>sciGUI implements a variable browser, to lunch, just type:
<tx>
<cm>browsevar()

<slide>Help browser
<tx>sciGUI implements a interactive help browser, to lunch, just type:
<tx>
<cm>bhelp();

<slide>demoplay
<tx>sciGUI implements a interactive demo player. This demo is itself an example. type "help demoplay" to get more information

<slide>That's all