27 lines
588 B
Python
27 lines
588 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
""" Define the menu structure used by the Pentacle applications """
|
|
|
|
MenuStructure = [
|
|
["&File", [
|
|
["&New", "<control>N"],
|
|
["&Open...", "<control>O"],
|
|
["&Save", "<control>S"],
|
|
["Save &As...", "<control><shift>S"],
|
|
["Test", ""],
|
|
["Exercised", ""],
|
|
["Uncalled", ""],
|
|
["-", ""],
|
|
["&Exit", ""]]],
|
|
[ "&Edit", [
|
|
["&Undo", "<control>Z"],
|
|
["&Redo", "<control>Y"],
|
|
["-", ""],
|
|
["Cu&t", "<control>X"],
|
|
["&Copy", "<control>C"],
|
|
["&Paste", "<control>V"],
|
|
["&Delete", "Del"],
|
|
["Select &All", "<control>A"],
|
|
]],
|
|
]
|