Variable number of columns in Gtk::TreeView



Hi,

I want to display some values on a Gtk::TreeView. The values come from a number of extracted features from a laser range sensor.

The problem, is that I want to change the algorithms to use during execution. That is, I have a list of possible algorithms, and I want to choose which to use. Each row of the Gtk::TreeView should contain list of the feature values per sample.

So each row of the TreeView is supoosed to mean a sample, and each column a chosen feature. So, the number of column can only be known when I re-fill the TreeView.

How can I perform this? Does anyone have an example?

Thanks in advance.

Best Regards
   Pedro Sousa


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