peng3d/window.py
def addMenu(self,menu):
        """
        Adds a menu to the list of menus.
        """
        # If there is no menu selected currently, this menu will automatically be made active.
        # Add the line above to the docstring if fixed
        self.menus[menu.name]=menu
        self.peng.sendEvent("peng3d:window.menu.add",{"peng":self.peng,"window":self,"menu":menu})
def addMenu(self,menu):
        # If there is no menu selected currently, this menu will automatically be made active.
        # Add the line above to the docstring if fixed
        self.menus[menu.name]=menu
        self.peng.sendEvent("peng3d:window.menu.add",{"peng":self.peng,"window":self,"menu":menu})
def addMenu ( self , menu ) : # If there is no menu selected currently, this menu will automatically be made active. # Add the line above to the docstring if fixed self . menus [ menu . name ] = menu self . peng . sendEvent ( "peng3d:window.menu.add" , { "peng" : self . peng , "window" : self , "menu" : menu } )
Adds a menu to the list of menus.
Adds a menu to the list of menus .