Eto - simple direct binding example

Hi to all python scripters,

attached is a (hopefully comprehensable) example script for direct binding between a slider control and a numeric stepper. The important line of code is:

self.numeric.ValueBinding.Bind(self.slider, "Value", Eto.Forms.DualBindingMode.TwoWay)

ETO_SliderNumericBinding.py (2.1 KB)

happy coding,
c.

3 Likes