load wx
# Create the Objects
+
+new LayoutLine layout
+
+// Initialisations with Set
+
new Slider slider
set slider.ReactiveOnTrack 1
+ set slider.Min 10
+ set slider.Max 100
+ set slider.In 25
+ set slider.Label 1
+ set slider.Orientation H
+ set slider.Title "initialisations with Set"
new OutputText text
-new LayoutLine layout
+
+new Add a
+ set a.In1 5
+
+// Initialisations with Connect
+
+new Slider slider2
+ set slider2.ReactiveOnTrack 1
+ set a.In2 5
+ connect a.Out slider2.Min
+ set a.In2 95
+ connect a.Out slider2.Max
+ set a.In2 20
+ connect a.Out slider2.In
+ set slider2.Label 1
+ set slider2.Orientation H
+ set slider2.Title "initialisations with Connect"
+new OutputText text2
+
# Graphical pipeline
connect slider.Widget layout.Widget1
connect text.Widget layout.Widget2
+connect slider2.Widget layout.Widget3
+connect text2.Widget layout.Widget4
+
# Execution pipeline
connect slider.BoxChange text.BoxExecute
connect slider.Out text.In
+connect slider2.BoxChange text2.BoxExecute
+connect slider2.Out text2.In
+
# Go!
exec layout