Hi!
I am very very new to Go-QML! Can anyone give me a steer on the best way to implement models using Go-QML? I have a go routine that will be producing events that my go code handles. Another Go object will listen for these events and create new items to be appended to a list of items e.g. a slice or map. I would like to have QML render this map when new items are added to it.
How would I:
- Make this map available to QML? I assume I'd have to adhere to some kind of interface and then register by object with the QML engine
- Or update an existing QML model to append the new items to it, forgoing the need for the map in the first place.
Loving Go-QML! It is truly astonishing how quickly I have been able to get something up and running!
Cheers!
Ben