--- /dev/null
+description "Input/OutputText widgets example"
+author "info-dev at creatis.insa-lyon.fr"
+category "example"
+
+// To show two behaviours
+
+load std
+load wx
+
+new InputText text1
+
+new OutputText outtext1
+ // immediate display
+ set outtext1.BoxProcessMode Reactive
+ connect text1.Out outtext1.In
+
+new InputText text2
+
+new OutputText outtext2
+ // waits for boxchange of RUN button
+ connect text2.Out outtext2.In
+
+new CommandButton btn
+ set btn.Label "Run"
+ connect btn.BoxChange outtext2.BoxExecute
+
+new LayoutLine main
+ connect text1.Widget main.Widget1
+ connect outtext1.Widget main.Widget2
+ connect text2.Widget main.Widget3
+ connect outtext2.Widget main.Widget4
+ connect btn.Widget main.Widget5
+
+exec main