c++ - wxDataViewModel: What is it and how do i use it? -


i read documentation http://docs.wxwidgets.org/3.0/classwx_data_view_model.html several times hardly answers questions. maybe i'm confused function of class?

so riddle this:

  • is view model know mvvm?
  • how implement derivative?
  • how set data in containing wxdataviewlistctrl?
  • is right/recommended way make table?

as name subtly hints, wxdataviewmodel indeed model in usual mvc design (while wxdataviewctrl both view , controller).

you can see couple of examples of custom models in dataview sample.

notice wxdataviewlistctrl compatibility class made transitioning code using wxlistctrl wxdataviewctrl , defines own trivial list model. don't recommend using unless need.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -