-
Notifications
You must be signed in to change notification settings - Fork 241
[Gtk] Adds EditingFinished event to cell renderers #914
base: main
Are you sure you want to change the base?
Conversation
2df379b
to
9666525
Compare
Should we pass over the old/new value in the event args? |
This happens when the value is set in your model, then you can check it here, but yes, we can include it in the args |
The reason the event args are used is so event handlers do not have to query. In example, looking up the value in a store or looking up which row changed can be costly, and if 2 event handlers are subscribed, we do potentially expensive lookups instead of doing a cheap one at eventargs construction timem |
It's a good reason to include it 👍 |
@netonjm are you going to add the event args? This should fix #795 and we could also fix mono/monodevelop#4075 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sry, selected wrong option
LGTM now! cc @slluis for the last API change |
We should rebase and merge this. Stumbled upon mono/monodevelop#4075 |
fba46ff
to
a49a912
Compare
acbef23
to
6dd9512
Compare
6dd9512
to
f75231a
Compare
This PR allows handle the event when the edition has finished. It's very useful to get real values from the ListStore.
I didn't implemented the Cocoa side because there are no implementation, but this can be added in the future.