how to implement data binding


I found this msdn article( about a gui library called egui++(

scroll down this msdn article to the last section, which talks about data binding, the listview control could be bound to an std::vector<data>. But I checked the latest source of egui, the library has not implement it yet, the project seems dead

I think it's interesting to implement data binding for stl containers, but I cannot figure out how. I can write some wrapper function for list view, update the vector<data> after gui editing. But if the std container is modified, how to display the modification on the gui automatically?

Suggestions are appreciated.

Last edited on
Topic archived. No new replies allowed.