Re: [gtkmm] treeview single click signal



Yada Yuk <yadayuk yahoo com> said:

> In a TreeView/Liststore I want to detect which row has
> been selected (with single click of mouse).
> 
> on_row_activated() does it for double clicks. What is
> the signal for single clicks?

You need to work with Gtk::TreeSelection::signal_changed()
You can catch the TreeSelection with Gtk::TreeView::get_selection()

Regards,

Christian Van Brussel






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