[gtkmm] Treeview selection



Thank you !

Last question :/

I linked the Treeview callback as following :

Glib::RefPtr<Gtk::TreeSelection> selection = m_TreeView.get_selection();
selection->signal_changed().connect(slot(*this, &CMainWindow::on_selection_change));

My goal is to catch in the "on_selection_change" method the name of the selection (this is a single Treeview, with a unique column).

Is the callback link correct in order to catch the name of the selection ? Or should i modify it ? I can't figure out.

thank you very much and sorry for the newbiness of my questions, i'm very new to gtkmm and unfortunatly do not have enough time to read the whole api.

jerome buchler.

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr




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