Skip to content
Textual
textual.content
Initializing search
GitHub
Home
Introduction
Tutorial
Guide
Widgets
Reference
API
How To
FAQ
Roadmap
Blog
Textual
GitHub
Home
Introduction
Introduction
Getting started
Help
Tutorial
Guide
Guide
Devtools
App Basics
Styles
Textual CSS
DOM Queries
Layout
Events and Messages
Input
Actions
Reactivity
Themes
Widgets
Content
Animation
Screens
Workers
Command Palette
Testing
Widgets
Reference
Reference
CSS Types
CSS Types
<border>
<color>
<hatch>
<horizontal>
<integer>
<keyline>
<name>
<number>
<overflow>
<position>
<percentage>
<scalar>
<text-align>
<text-style>
<vertical>
Events
Events
AppBlur
AppFocus
Blur
Click
DescendantBlur
DescendantFocus
Enter
Focus
Hide
Key
Leave
Load
Mount
MouseCapture
MouseDown
MouseMove
MouseRelease
MouseScrollDown
MouseScrollUp
MouseUp
Paste
Print
Resize
ScreenResume
ScreenSuspend
Show
Unmount
Styles
Styles
Align
Background
Background-tint
Border
Border-subtitle-align
Border-subtitle-background
Border-subtitle-color
Border-subtitle-style
Border-title-align
Border-title-background
Border-title-color
Border-title-style
Box-sizing
Color
Content-align
Display
Dock
Grid
Grid
Column-span
Grid-columns
Grid-gutter
Grid-rows
Grid-size
Row-span
Hatch
Height
Keyline
Layer
Layers
Layout
Links
Links
Link-background
Link-background-hover
Link-color
Link-color-hover
Link-style
Link-style-hover
Margin
Max-height
Max-width
Min-height
Min-width
Offset
Opacity
Outline
Overflow
Padding
Position
Scrollbar colors
Scrollbar colors
Scrollbar-background
Scrollbar-background-active
Scrollbar-background-hover
Scrollbar-color
Scrollbar-color-active
Scrollbar-color-hover
Scrollbar-corner-color
Scrollbar-gutter
Scrollbar-size
Scrollbar-visibility
Text-align
Text-opacity
Text-overflow
Text-wrap
Text-style
Tint
Visibility
Width
Widgets
Widgets
Button
Checkbox
Collapsible
ContentSwitcher
DataTable
Digits
DirectoryTree
Footer
Header
Input
Label
Link
ListItem
ListView
LoadingIndicator
Log
MarkdownViewer
Markdown
MaskedInput
OptionList
Placeholder
Pretty
ProgressBar
RadioButton
RadioSet
RichLog
Rule
Select
SelectionList
Sparkline
Static
Switch
TabbedContent
Tabs
TextArea
Toast
Tree
API
API
textual.app
textual.await_complete
textual.await_remove
textual.binding
textual.cache
textual.color
textual.command
textual.constants
textual.containers
textual.compose
textual.content
textual.content
Table of contents
content
ANSI_DEFAULT
ContentText
ContentType
TRANSPARENT_STYLE
Content
text
spans
cell_length
cell_length
first_line
markup
plain
spans
without_spans
add_spans
spans
append
content
append_text
text
style
assemble
*parts
end
center
width