> 2) When I use a TreeView with a ListStore, how can I do the following: > - Align on the right hand side the content of some columns (for example > numerical columns) One approach is this: Use a Gtk::CellRendererText and then use property_markup () > - Make the columns resizable by the user On the TreeView widget use get_column (int n) to get a pointer to the column. Then use: Gtk::TreeViewColumn::set_resizable() on that. > - Implement a conditional rendering of a column (should I use a > CellRendererText implementing a Label with Pango format?) If you use CellRendererText then take a look on here->http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-treeview.html on the topic "Specifying CellRenderer Details". And then use the property_visible () of the CellRendererText I hope I didn't confuse you. At first I was confused at how TreeView works... About the documentation part: you're dead on. Μείνετε συνδεδεμένοι με τους φίλους σας στο Zoo Κάντε κλικ εδώ! |