Re: Simple question about Gtk::TreeView



Hi,

I guess you can call TreeView::get_selection(), and
then call TreeSelection::get_selected(passing the
liststore reference).
After you get the row, you can call
row[modelcolumnrecord.nameofcolumn]

That should do the trick.

-Nalin

--- taheto <taheto o2 pl> wrote:

> Hi everybody,
> 
> I have Gtk::TreeView with ListStore with 4 columns.
> First of it is 
> unsigned int. I need to know value of this column
> for selected row, but 
> I don`t know how to do it :/ Can you help my?
> 
> Thanks,
> taheto
> 
> -- 
> przeciwko konstytucji UE | przeciwko patentom |
> przeciwko komercji
> 2005 - 35 rok Epoki Unixowej.
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



		
_______________________________________________________
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com



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