Open plops opened 10 years ago
AFAIK the library follows whatever GTKs API does, so since the edited
signal doesn't have that parameter, it won't be put in here. In the C API you're kind of expected to supply whatever data you need with the user_data
parameter - likewise you'd do what you've already written above in the Lisp binding instead.
I guess you could put some custom data on the renderer, but your current solution seems simple enough.
I'm trying to separate construction of a tree-view and its model as much as possible. When defining the "edited" signal for the text-renderer of text (in this case actually a spin-box showing double-float values) I don't have access to the treeview and therefore can not access the model to update its value.
The following code is working but I would prefer, if the signal for "edited" could be defined in the
make-view function
instead of insideview-update-model
.