Linking problem
Hi everyone,
I have created a menu. I want to be able to link the menu to other vizard file.
For example when I click on cross using zebra line I want to go to another vizard file.
Here is my menu:
import viz
viz.go()
import vizinfo
info = vizinfo.add('MENU PAGE')
viz.clearcolor(viz.SKYBLUE)
#create main menu object
import vizmenu
menu = vizmenu.add()
#Palce menu in center
menu.setAlignment(vizmenu.LEFT)
#Create 2 menu objects
Animation = menu.add ('Animation')
VR = menu.add('VR Application')
#Add drop list to Animation
AnimationDropDown1 = Animation.add(vizmenu.MENU, 'Cross road using zebra line')
AnimationDropDown2 = Animation.add(vizmenu.MENU, 'Cross road using traffic light')
AnimationDropDown3 = Animation.add(vizmenu.MENU, 'Cross road by getting help')
#Add drop list to VR
VRDropDown1 = VR.add(vizmenu.MENU, 'Cross road using zebra line')
VRDropDown2 = VR.add(vizmenu.MENU, 'Cross road using traffic light')
VRDropDown3 = VR.add(vizmenu.MENU, 'Cross road by getting help')
|