[Gimp-developer] gimp_coordinates and "value_changed"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux