In Gtk 2.0 the cell toggled event, for example, passes the cell rendered and the path to the callback. But in order to change the underlying model data I need to know which treeview or which model this event is for. What is the proper way to determine that?
EDIT:
To clarify, the GtkCellRenderer
toggled signal calls a callback with 3 parameters: *cell_renderer
, *path
, user_data
. In this callback, how do I retrieve the model that is connected to the treeview that received this signal?