This commit is contained in:
Will McGugan
2022-09-06 15:39:41 +01:00
parent b2db7a63ab
commit d9d5791925
9 changed files with 21 additions and 9 deletions

View File

@@ -391,3 +391,7 @@ Button:hover {
background: blue !important; background: blue !important;
} }
``` ```
## CSS Variables
TODO: Variables

View File

@@ -1 +1,3 @@
# Actions # Actions
TODO: Actions docs

View File

@@ -1,5 +1,7 @@
## Events ## Events
TODO: events docs
- What are events - What are events
- Handling events - Handling events
- Auto calling base classes - Auto calling base classes

View File

@@ -2,6 +2,8 @@
In textual the *layout* defines how widgets will be arranged (or *layed out*) on the screen. Textual supports a number of layouts which can be set either via a widgets `styles` object or via CSS. In textual the *layout* defines how widgets will be arranged (or *layed out*) on the screen. Textual supports a number of layouts which can be set either via a widgets `styles` object or via CSS.
TODO: layout docs
## Vertical ## Vertical
A vertical layout will place new widgets below previous widgets, starting from the top of the screen. A vertical layout will place new widgets below previous widgets, starting from the top of the screen.

View File

@@ -1,5 +1,7 @@
# Reactivity # Reactivity
TODO: Reactivity docs
- What is reactivity - What is reactivity
- Reactive variables - Reactive variables
- Demo - Demo

View File

@@ -1,5 +1,7 @@
# Screens # Screens
TODO: Screens docs
- Explanation of screens - Explanation of screens
- Screens API - Screens API
- Install screen - Install screen

View File

@@ -1,5 +1,7 @@
# Styles # Styles
TODO: Styles docs
- What are styles - What are styles
- Styles object on widgets / app - Styles object on widgets / app
- Setting styles via CSS - Setting styles via CSS

View File

@@ -1,5 +1,7 @@
# Widgets # Widgets
TODO: Widgets docs
- What is a widget - What is a widget
- Defining a basic widget - Defining a basic widget
- Base classes Widget or Static - Base classes Widget or Static

View File

@@ -59,16 +59,10 @@ Textual is a framework for building applications that run within your terminal.
<hr> <hr>
```{.textual path="docs/examples/demo.py" columns=100 lines=48}
<!-- TODO: More examples split in to tabs --> ```
=== "Example 1"
```{.textual path="docs/examples/demo.py" columns=100 lines=48}
```
=== "Example 2"
TODO: Add more example screenshots