Re: TreeView Design



struct Derived: public Base { ... };


Yes, sorry.

it->member = <any pointer to a class/struct that derived from Base>;


But what about setting the data therein, using GTKmm, things like this
are possible:

Gtk::TreeModel::Row row = *(m_refTreeModel->append());
row[m_Columns.m_col_id] = 1;

I am trying to get my head around the magic that makes this possible.

Hope that makes more sense.

Gaz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]