quick update for future reference : I found the solution to my problem. Its explained well in gnome docs https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-notify-by-pspec basically, we just have to hook 'Gegloperation' object instance for signal "notify::your_op_name". But, again whenever we change any property value. all the values of the operation values will set not just the one which is changed. I came to know about this when i tried to hook by overriding 'set_property'. so if I understood correctly we can't hook the signal to know which property is changed. It seems logical as Gegl is separated from host program.
correct me if I'm wrong. On Wed, Apr 29, 2015 at 11:19 AM, Akash Hiremath <akashh...@gmail.com> wrote: > hi, > I want to hook "notify" signal emitted by GeglOperation properties. But > for that I need operation's 'properties' gobject. I can easily hook for > 'GeglOperation' since its a 'gobject' instance but how can I hook for a > property? I tried hook by GValue by 'g_object_get'. also tried to hook by > 'g_object_class_find_property()' which returns a 'GParamSpecInt' type of > value. as expected it didn't work as they aren't gobjects. > In short how can I get properties 'gobject' instance? I checked gonme > developer site, gobject's documentation still no luck. >
_______________________________________________ gegl-developer-list mailing list List address: email@example.com List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list