display.editor_size_view documentation - wladekpal/The-Lazy-Snek GitHub Wiki

EditorSizeView

View class used to gather basic data about the level from user, before the level is created. Data gathered are: level dimensions, level name and level author.

Properties

  • width_input - NumberBoxInput instance in which user can input level width.
  • height_input - NumberBoxInput instance in which user can input level height.
  • name_input - TextBoxInput instance in which user can input level name.
  • author_input - TextBoxInput instance in which user can input level author.
  • submit - SubmitButton instance. This is button that submits user input and switches view to EditorView. It is inactive when gathered data are not valid.
  • focused_input - One of above input objects or None. It represents input box with which user currently is interacting.