<node3d:GUI:button>.uppicture

This action will set the picture for when the Button or Checkbox is up

 

<node3d:GUI:button>.uppicture(
    filename    

)

 

filename

A valid image file


Remarks

This action will set the picture for the Button or Checkbox when it is up.

Return Value

None

Example

button = viz.addButton()
button.uppicture('up.jpg')

See also

<node3d:GUI:button>.downpicture