On 10/8/07, Andreas Volz <[EMAIL PROTECTED]> wrote: > Hello, > > I use this to connect a signal handler in a treeview: > > m_siteTreeView.signal_row_activated().connect(sigc::mem_fun(*this, > &SideBar::onTreeviewRowActivated) > > But the signal is only thrown if I double click on a row. But I like a > signal if I normal click the treeview.
It depends on what exactly you are trying to do, but you might be able to use the Gtk::TreeSelection::signal_changed() signal. Alternately, you could possibly use Gtk::TreeView::signal_button_press_event() signal in conjunction with Gtk::TreeView::get_path_at_pos(). -- jonner _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
