MVC and TreeViews

J

j_mckitrick

I'm using a basic MVC TreeView in GTK, but this isn't a GTK question.

I have a set of objects and show their properties in a TreeView. I
TreeView has a ListStore which can be modified, and the changes appear
automatically in the TreeView. Also, changes make by the user on the
TreeView are reflected in the model.

When the user has made changes, is it better to change the original
objects then rebuild the ListStore model for the TreeView, or is it
better to extract the
changes from the ListStore model and modify the original objects?

jonathon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

C# MVC Razor page form 0
Is MVC Design Pattern good enough? 3
MVC with Python 2
MVC web-framework with RESTfully Decoupled Views? 0
MVC 4
design pattern: MVC in python 0
My MVC critique 4
mvc design doubts 9

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top