Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Simple example 5

This example shows you how to define the application Main menu using the BaseWidget.mainmenu property.

self.mainmenu = [
		{ 'File': [
				{'Open': self.__dummyEvent},
				'-',
				{'Save': self.__dummyEvent},
				{'Save as': self.__dummyEvent}
			]
		},
		{ 'Edit': [
				{'Copy': self.__dummyEvent},
				{'Past': self.__dummyEvent}
			]
		}
	]

Simple example 5