--- /dev/null
+# ----------------------------------
+# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/boxes/SaveMHD-Button.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include vtk
+
+define SaveMHD-Button creaMiniTools
+
+author "info-team at creatis.insa-lyon.fr"
+description "Button that saves the input vtkImageData as a MHD file"
+
+category "read/write widget"
+
+new CommandButton Box00
+ set Box00.Label "Save Image"
+ set Box00.WinTitle "Save Img."
+
+new MetaImageWriter Box01
+
+new FileSelector Box02
+ set Box02.OpenSave Save
+
+
+connect Box00.BoxChange Box01.BoxExecute
+connect Box02.Out Box01.Filename
+
+
+# Complex input ports
+input In Box01.In " "
+
+# Complex output ports
+output Widget Box00.Widget " "
+
+endefine