Re: Set adjustment not emmiting a signal?



On Wed, 2004-08-04 at 20:48, Jan Hudec wrote:

Is there a way to set adjustment value without causing the
"value_changed" signal?

If you store the ID returned by signal_connect, you can temporarily
block your signal handler with

  $object->signal_handler_block ($handler_id)

and unblock it again when you're done with

  $object->signal_handler_unblock ($handler_id).

HTH,
-Torsten

-- 
Bye,
-Torsten




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