[pygtk] spinbutton set value and signal

Steve McClure smcclure at racemi.com
Thu Nov 6 05:40:30 WST 2008


On Nov 5, 2008, at 3:29 PM, Frédéric wrote:

> On mercredi 05 novembre 2008, Raúl Núñez de Arenas Coronado wrote:
>
>> I think your best bet is to investigate how to access the handler_id
>> under Glade. It should be possible, but I cannot help you with  
>> that, my
>> experience with Glade is zero...

In the case(s) where I have needed to do the exact same thing, I added  
the handler programmatically and saved the handler id.  Then when I  
need to change the value programmatically I do a block/unblock of the  
signal handler.  I never found a way to get the handler id from glade  
and this way wasn't much overhead.

>>
>
> I'll try that way.
>
> thanks.
>
> -- 
>    Frédéric
>
>    http://www.gbiloba.org
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>

--
Steve McClure
smcclure at racemi.com



More information about the pygtk mailing list