> On Fri, 22 Jun 2001, Steve McClure wrote:
>
> > I'm trying to change the adjustment for a dial to parameters specified
> > by the user, I do:
> >
> > def setDialRange(widName, min, max):
> > w = app.wtree.get_widget(widName)
> > adj = w.get_adjustment()
> > if adj.lower != min or adj.upper != max:
> > adj.lower = min
> > adj.upper = max
> > w.set_adjustment(adj)
> >
> > but the widget doesn't change it appearance. I have also tried calling
> >
> > adj.changed() in place of and in addition to
> > w.set_adjustment(adj)
> >
> > Any pointers would be appreciated.
>
> Try adding a "w.queue_draw()" call after changing the adjustment bounds.
>
> James.
No change. Wouldn't that happen anyway the next time the value is changed on
the dial?
>
> --
> Email: [EMAIL PROTECTED]
> WWW: http://www.daa.com.au/~james/
--
Steve McClure 430 10th St NW
Racemi Suite N-210
http://www.racemi.com Atlanta, GA 30318
[EMAIL PROTECTED] voice/fax: 404-892-5850
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk