euporie.console.tabs.console.Layout

class euporie.console.tabs.console.Layout(container: AnyContainer, focused_element: FocusableElement | None = None)

The layout for a prompt_toolkit Application. This also keeps track of which user control is focused.

Parameters:
  • container – The “root” container for the layout.

  • focused_element – element to be focused initially. (Can be anything the focus function accepts.)