buttonLabel = 'mylabel' button = viz.add( viz.BUTTON, buttonLabel ) button.label = buttonLabel ... print button.label