Re: [gtkmm] TreeView Path



Ya I know that. What I was trying to get at is how do I know which of
the columns changed?

Use SigC::bind like this:

your_renderer->signal_toggled ().connect(
	SigC::bind (
		SigC::slot(*this, &YOUR_CLASS::cell_toggled),
		your_column));

with cell_toggled looking like this:

void
YOUR_CLASS::cell_toggled (const Glib::ustring& path,
			Gtk::TreeModelColumnBase column)

--
fuxx




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