class edit_commands.EditCommandScreen(CommandScreen)

EditCommandScreen is a subclass of CommandScreen that provides the following commands:

TitleAction NameKeys
Create Level Set...create_level_set
New Levelnew_levelCmd-N
Open Level...open_levelCmd-O
Resume Editingedit_levelESC
Test Leveltest_levelCmd-T
Save Levelsave_levelCmd-S
Save Level As...save_level_as
Exit Editorexit_level_editorCmd-Q

You may want to base your level editing screen on EditCommandScreen so that it will respond to the keyboard equivalents of these commands.

Class Attributes

title = "Level Editor"
Title string for the menu.
title_class = EditMenuTitle
Widget class for the menu title. Should be a subclass of Label or something with a compatible constructor.
button_class = EditMenuButton
Widget class for the menu buttons. Should be a subclass of Button or something with a compatible constructor.

Themable Classes

You can customize the appearance of the title and menu by providing Albow themes for the following classes defined in the edit_commands module.
class EditMenuTitle(MenuTitle)
Default class for the menu title.
class EditMenuButton(MenuButton)
Default class for the menu buttons.
---