Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4177

Eto - simple direct binding example

$
0
0

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.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4177

Latest Images

Trending Articles



Latest Images