Copying Gtk::TreeRow



Hey,

Another random question.  I'm trying to figure out how to copy a row in a TreeStore.

That kinda looks like a dumb question...

I'm also trying to do this without compile time type information.

I've been staring at

template< class ColumnType >
Gtk::TreeRow::get_value( int column, ColumnType& data ) ;

http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeRow.html#9b1db0af89cc50bb0b16a1daf8d5c5e1

and

template< class ColumnType >
Gtk::TreeRow::set_value( int column, ColumnType& data ) ;

http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeRow.html#9b1db0af89cc50bb0b16a1daf8d5c5e1

If anyone has got any ideas on how to do something like this, I'd be much appreciated.

Paul


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