Last active
August 20, 2020 21:12
-
-
Save GeePawHill/479227510827cd0fde09ffad4fdaa1a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ... : View() { | |
| val rollProperty = SimpleStringProperty("My Dynamic String") // This doesn't have to be in the View class, it could be anywhere, like in the Model. | |
| // But it can *not* be a String. | |
| root = hbox { | |
| label(rollProperty) | |
| } | |
| fun changeString(newValue:String) | |
| { | |
| rollProperty.set(newValue) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment