I write a plugin and am using the gtk.curve widget. But I am confused because I dont know how to make preview refresh upon change of a curve. Simply, I miss something like this:
g_signal_connect( G_OBJECT( my_curve ), "changed",G_CALLBACK( .... ), NULL )
I noticed that the curves in gimp works as supposed - image is recalculated everytime when user changes the curve. I ended up (for now) with a button named like "refresh preview", but this is not good (= user friendly) approach.
So if any developer is here, please, advice me.