I would like to change the value of m_Columns.m_col_percentage value upon an event such as a function call. First definition I wrote is in the header and cell fillings are in the main source code. I would like to learn how to access and set row1[m_Columns.m_col_percentage] value from an external function. I am on gtk4mm
I know the index of the row that I can input. But m_refTreeModel = Gtk::ListStore::create(m_Columns); does not have a children() member thus I can’t access it. On the other hand why I am not able to access row1 from an external function ? Currently I am studying on ; https://github.com/GNOME/gtkmm-documentation/tree/master/examples/book/treeview/list
The value changed when I addressed the member ; m_refTreeModel->children()[0][m_Columns.m_col_percentage] = 100;. Do you think there is something wrong with my setup ?