]> Creatis software - bbtk.git/blob - packages/wx/bbs/boxes/DropFiles_Widget.bbs
#3515 Add ext to ImagaVtkProperties box
[bbtk.git] / packages / wx / bbs / boxes / DropFiles_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/bbtk/packages/wx/bbs/boxes/DropFiles_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10
11 define DropFiles_Wdiget wx
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new wx:ButtonSelectFilesDirectory Box17
19   set Box17.Label "Open"
20   set Box17.Message "Open"
21   set Box17.Title "Open"
22
23 new wx:LayoutLine Box18
24   set Box18.Orientation "H"
25   set Box18.WinTitle "Files B"
26
27 new wx:OutputText Box19
28   set Box19.In "Drag here..."
29
30 new wx:DropFiles Box20
31
32 new wx:OutputText Box22
33
34 new wx:LayoutSplit Box23
35   set Box23.Orientation "H"
36   set Box23.Proportion "75"
37
38 new wx:StaticBox Box25
39
40 new wx:StaticBox Box28
41
42 new std:MagicBox Box29
43
44
45 connect Box18.Widget Box20.Widget
46 connect Box17.BoxChange Box20.BoxExecute
47 connect Box20.BoxChange Box22.BoxExecute
48 connect Box20.LstPaths Box22.In
49 connect Box18.Widget Box25.BoxContent
50 connect Box25.Widget Box23.Widget2
51 connect Box23.Widget Box28.BoxContent
52 connect Box17.Widget Box18.Widget2
53 connect Box19.Widget Box18.Widget4
54 connect Box22.Widget Box23.Widget1
55 connect Box29.Out Box22.Title
56 connect Box17.Out Box20.LstPaths
57
58 # Complex input ports
59 input titleFlieName Box29.In " "
60
61 # Complex output ports
62 output widget Box28.Widget " "
63 output lstPaths Box20.LstPaths " "
64 output boxchange Box20.BoxChange " "
65
66
67 endefine