Skip to content

Explain layout better #674

Open
Open
@techtonik

Description

@techtonik

Is it possible to color references to different layout component classes on this page:
http://python-prompt-toolkit.readthedocs.io/en/stable/pages/full_screen_apps.html#the-layout

It seems that there are three groups of layout components:

  1. Container, HSplit, VSplit, FloatContainer - (light-blue lines) specify layout only (no flow direction)
  2. Window - (red) flow and scrolling
  3. UIControl, BufferControl, FormattedTextControl - (green) object that is being placed into Window

Then all three levels can be grouped into single widget - TextArea, Button, Frame (what's the difference with Window/Container), VerticalLine. Would be nice to see decomposition of VerticalLine into basic layout components.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions