The code below works. I'll find out why the values are not passed to the callback function the way you have it and get back to you.
Code:
import viz
import vizmenu
viz.go()
class makeMenu:
def __init__(self):
#Menu Generation
self.treadMenu=vizmenu.add()
self.command=self.treadMenu.add("Commands")
self.speed=self.treadMenu.add("Speed")
#Command Box
self.go=self.command.add(viz.BUTTON_LABEL,"GO")
self.stop=self.command.add(viz.BUTTON_LABEL,"STOP")
#Speed Box
self.lspeed=self.speed.add(viz.TEXTBOX, "LEFT BELT SPEED:")
self.rspeed=self.speed.add(viz.TEXTBOX, "RIGHT BELT SPEED:")
trMenu = makeMenu()
def moveBuffer():
print 'Left Belt Speed: ',trMenu.lspeed.get()
print 'Right Belt Speed: ',trMenu.rspeed.get()
vizact.onbuttondown(trMenu.go, moveBuffer)