ron
12/22/2016, 12:17 PMron
12/22/2016, 12:17 PMedvin
12/22/2016, 12:18 PMron
12/22/2016, 12:26 PMron
12/22/2016, 12:26 PMoverride fun updateRootGroup() {
EventBus().fire(RefreshRootGroup)
}
ron
12/22/2016, 12:27 PMron
12/22/2016, 12:32 PMron
12/22/2016, 12:32 PMron
12/22/2016, 12:32 PMron
12/22/2016, 12:33 PMron
12/22/2016, 12:35 PMobject RefreshRootGroup :FXEvent()
ron
12/22/2016, 12:40 PMedvin
12/22/2016, 1:05 PMedvin
12/22/2016, 1:05 PMron
12/22/2016, 2:35 PMron
12/22/2016, 2:37 PMedvin
12/22/2016, 2:38 PMron
12/22/2016, 2:39 PMedvin
12/22/2016, 2:39 PMedvin
12/22/2016, 6:24 PMedvin
12/22/2016, 6:26 PMfxid()
delegate so you don't need to create an init
block if you just want to manipulate it directly after creating the reference. Do you think this would be helpful? Example follows:edvin
12/22/2016, 6:26 PMval myLabel: Label by fxid { text = "Hello world" }
edvin
12/22/2016, 6:31 PMthis
would be the Label
in the above example.edvin
12/22/2016, 6:41 PMfxml
delegate. That would make it kind of builder like to manipulate the root node.edvin
12/22/2016, 6:50 PMinit
block, and also augment the UI with builders etc. Here is a crazy example:edvin
12/22/2016, 6:50 PMron
12/22/2016, 7:08 PM