RSS/Atom feed Twitter
Site is read-only, email is disabled

gimp_coordinates and "value_changed"

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

gimp_coordinates and "value_changed" David Necas (Yeti) 11 Nov 02:33
David Necas (Yeti)
2002-11-11 02:33:59 UTC (over 21 years ago)

gimp_coordinates and "value_changed"

Hello,

could someone please explain me why gimp_coordinates_callback() does this (libgimpwidgets/gimpwidgets.c:1036):

if (gimp_chain_button_get_active (gcd->chainbutton)) {
g_signal_stop_emission_by_name (G_OBJECT (widget), "value_changed"); ........

It may have some esoteric reasons I don't see, but the practical outcome is when one connects a callback to the GimpSizeEntry on "value_changed", the callback is called when only when the chain button is disconnected.

Or is there any other way of getting "value_changed" delivered when the value changes, which work regardless of the chain button state? (Disassembling the GtkTable and connecting directly to spinbuttons/entries doesn't count, though it surely is a way).

Thanks,

Yeti