]> Creatis software - bbtk.git/blobdiff - packages/wx/bbs/boxes/DropFiles_Widget.bbs
#3515 Add ext to ImagaVtkProperties box
[bbtk.git] / packages / wx / bbs / boxes / DropFiles_Widget.bbs
diff --git a/packages/wx/bbs/boxes/DropFiles_Widget.bbs b/packages/wx/bbs/boxes/DropFiles_Widget.bbs
new file mode 100644 (file)
index 0000000..2f01d7b
--- /dev/null
@@ -0,0 +1,67 @@
+# ----------------------------------
+# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/bbtk/packages/wx/bbs/boxes/DropFiles_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include std
+
+define DropFiles_Wdiget wx
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new wx:ButtonSelectFilesDirectory Box17
+  set Box17.Label "Open"
+  set Box17.Message "Open"
+  set Box17.Title "Open"
+
+new wx:LayoutLine Box18
+  set Box18.Orientation "H"
+  set Box18.WinTitle "Files B"
+
+new wx:OutputText Box19
+  set Box19.In "Drag here..."
+
+new wx:DropFiles Box20
+
+new wx:OutputText Box22
+
+new wx:LayoutSplit Box23
+  set Box23.Orientation "H"
+  set Box23.Proportion "75"
+
+new wx:StaticBox Box25
+
+new wx:StaticBox Box28
+
+new std:MagicBox Box29
+
+
+connect Box18.Widget Box20.Widget
+connect Box17.BoxChange Box20.BoxExecute
+connect Box20.BoxChange Box22.BoxExecute
+connect Box20.LstPaths Box22.In
+connect Box18.Widget Box25.BoxContent
+connect Box25.Widget Box23.Widget2
+connect Box23.Widget Box28.BoxContent
+connect Box17.Widget Box18.Widget2
+connect Box19.Widget Box18.Widget4
+connect Box22.Widget Box23.Widget1
+connect Box29.Out Box22.Title
+connect Box17.Out Box20.LstPaths
+
+# Complex input ports
+input titleFlieName Box29.In " "
+
+# Complex output ports
+output widget Box28.Widget " "
+output lstPaths Box20.LstPaths " "
+output boxchange Box20.BoxChange " "
+
+
+endefine