On dimanche 17 août 2008, Timo wrote:

> Hello, I have 3 spinbuttons in my program. What I want is that
> spinbutton 1 has always the lowest value and can not be more than
> spinbutton 2. Spinbutton 2 should always be between 1 and 3. And
> spinbvutton 3 should always have the biggest value.
> So is there a way to stop spinbutton 1 when it reaches the vlaue (or
> value -1) of spinbutton 2 and so on?

Just add callbacks on the spinbuttons change state, and change the min/max 
values of others.

-- 
    Frédéric

    http://www.gbiloba.org
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to