2 ms·
Got it. Can you show an example of modifiying the button label outside of the button click? I am curious how you would modify values outside of the scope of the
by diskzero 6y ago
Got it. Can you show an example of modifiying the button label outside of the button click? I am curious how you would modify values outside of the scope of the event handler.
- ogoffart 6y agoIn the following example, the text is bound to the text of a line edit: https://www.sixtyfps.io/editor/?snippet=import+%7B+LineEdit+%7D+from+%22sixtyfps_widgets.60%22%3B%0Aexport+Demo+%3A%3D+Window+%7B%0A++++name+%3A%3D+LineEdit+%7B+text%3A+%22World%22%3B+%7D%0A++++Text+%7B%0A++++++++y%3A+50px%3B%0A++++++++text%3A+%22Hello%2C+%22+%2B+name.text%3B%0A++++%7D%0A%7D https://www.sixtyfps.io/editor/?snippet=import+%7B+LineEdit+... Is that the kind of example you were looking for?
- diskzero 6y agoThat is great. Thanks!