# the panda3d setup just as in MinimalExample load_prc_file_data("", """ text-minfilter linear text-magfilter linear text-pixels-per-unit 32 sync-video #f textures-power-2 none show-frame-rate-meter #t win-size 700 600 window-title LUIYamlLoader Example """) base=ShowBase() base.region = LUIRegion.make("LUI", base.win) base.handler = LUIInputHandler() base.mouseWatcher.attach_new_node(base.handler) base.region.set_input_handler(base.handler) base.skin = LUIDefaultSkin() base.skin.load() gui = LUIYamlLoader(base.region.root) guipath="menus/menu1.yaml" class Menu1(LUIYamlDescription): filename = "menus/menu1.yaml"