]> Creatis software - bbtk.git/blob - packages/std/bbs/appli/exampleSetElementVector.bbs
3149 BBTK Feature New Normal - GetVectorPointer SetElementVector box
[bbtk.git] / packages / std / bbs / appli / exampleSetElementVector.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/bbtk/packages/std/bbs/appli/exampleSetElementVector.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include std
12 include wx
13
14 author "Author ??"
15 description "Description ??"
16 category "<VOID>"
17
18 new std:GetVectorStringPointer Box01
19   set Box01.In "A B C D E"
20
21 new std:SetElementVectorVectorString Box02
22   set Box02.I "2"
23   set Box02.Value "2"
24
25 new wx:OutputText Box03
26
27 new wx:LayoutSplit Box04
28
29 new wx:Slider Box05
30   set Box05.ReactiveOnTrack "true"
31
32
33 connect Box05.Widget Box04.Widget1
34
35 connect Box05.BoxChange Box03.BoxExecute
36
37 connect Box05.BoxChange Box02.BoxExecute
38
39 connect Box05.Out Box02.Value
40
41 connect Box03.Widget Box04.Widget2
42
43 connect Box01.PVec Box02.PVec
44
45 connect Box02.Vec Box03.In
46
47
48
49 # Complex input ports
50 exec Box04