Re:Show HN: SixtyFPS – multi-language GUI toolkit for deskto...
by diskzero on Thursday October 29, 2020 @03:27PM
(#24934575)
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.
Re:Show HN: SixtyFPS – multi-language GUI toolkit for deskto...
by ogoffart on Thursday October 29, 2020 @04:44PM
(#24935555)
In the following example, the text is bound to the text of a line edit:
https://www.sixtyfps.io/editor/?snippet=import+%7B+LineEdit+...
Is that the kind of example you were looking for?
On the desktop platform, we can make use of a native style (using the styles from Qt in the current implementation)
As for the handling of the state change, they are not imperative. The values update automatically as the property changes. (For example the text of this button changes when you click it: https://www.sixtyfps.io/editor/?snippet=%0Aimport+%7B+Button... )