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.


-- 
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

Reply via email to