Thank you Murray Cumming and D. B. :-)
I love the help I get from this mailing list.
--
Kamalpreet Kaur Grewal
Blog: http://kamalpreetgrewal.com/
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Given that TreeValueProxy uses a conversion operator returning a const
value of the template type, you simply need to tell the compiler to use
that conversion operator, so that it doesn't try to invoke .first on the
TreeValueProxy class itself.
You should be able to simplify the existing suggestio
On Fr, 2016-07-01 at 15:14 +0530, Kamalpreet Grewal wrote:
> I am making a pair as data type of Gtk::TreeModelColumn.
> Gtk::TreeModelColumn > col;
>
> At some places I wish to get only first string of this pair. So I did
> something like row[columns.col].first to access it. But I get an
> error.