Have you tried using the mapping behavior of the object?
adj = GtkAdjustment()
...
adj['lower'] = 10
Just a guess. I haven't used adjustments myself. Can you send an example?
:-)
Jeff
Bernhard Herzog wrote:
>
> How do I change the attributes of an adjustment object after it has been
> created?
>
> I can set the values of lower, upper, page_size, etc. when I create the
> GtkAdjustment but it seems I can't change them afterwards from python.
>
> I'm new to both gtk and pygtk, but apparently I can change those values
> in C and call gtk_adjustment_changed afterwards to update e.g. a
> scrollbar that uses this adjustment. What's the point of having the
> changed() method, if I can't actually change the adjustment?
>
> Thanks in advance
>
> --
> Bernhard Herzog | Sketch, a python based drawing program
> [EMAIL PROTECTED] | http://www.online.de/home/sketch/
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
--
J.W. Bizzaro mailto:[EMAIL PROTECTED]
Boston College Chemistry http://www.uml.edu/Dept/Chem/Bizzaro/
--
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]