Re: [gtkmm] getting the content of a Row in a Treeview



Andre Leubner wrote:

Hi,

ok, i have a TreeView, i'm catching the row_activated signal.
and now i need the content(ustring) of the selected row.

here some code i already tried, without success:

void SimpleEdit::on_row_activated(const Gtk::TreePath & path,Gtk::TreeViewColumn * col) //row_activated sig
[...]
but i can't find a way to get the activated row...

Why, what's wrong with row = *(model->get_iter(path)); ?
Try this, may be it helps.
       Igor Gorbounov




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