Skip to content
Textual
textual.events
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.coordinate
textual.dom
textual.events
textual.events
Table of contents
events
AppBlur
AppFocus
Blur
Callback
Click
chain
Compose
CursorPosition
DeliveryComplete
key
name
path
DeliveryFailed
exception
key
name
DescendantBlur
control
widget
DescendantFocus
control
widget
Enter
control
node
Event
Focus
from_app_focus
Hide
Idle
InputEvent
Key
key
character
aliases
character
is_printable
key
name
name_aliases
Leave
control
node
Load
Mount
MouseCapture
mouse_position
mouse_position
MouseDown
MouseEvent
widget
x
y
delta_x
delta_y
button
shift
meta
ctrl
screen_x
screen_y
style
button
ctrl
delta
delta_x
delta_y
meta
offset
pointer_screen_x
pointer_screen_y
pointer_x
pointer_y
screen_offset
screen_x
screen_y
shift
style
widget
x
y
get_content_offset
widget
get_content_offset_capture
widget
MouseMove
MouseRelease
mouse_position
mouse_position
MouseScrollDown
MouseScrollLeft
MouseScrollRight
MouseScrollUp
MouseUp
Paste
text
text
Print
text
stderr
stderr
text
Ready
Resize
size
virtual_size
container_size
container_size
pixel_size
size
virtual_size
from_dimensions
cells
pixels
ScreenResume
ScreenSuspend
Show
Timer
Unmount
textual.errors
textual.filter
textual.fuzzy
textual.geometry
textual.getters
textual.highlight
textual.layout
textual.lazy
textual
textual.logging
textual.map_geometry
textual.markup
textual.message_pump
textual.message
textual.on
textual.pilot
textual.css.query
textual.reactive
textual.renderables
textual.screen
textual.scrollbar
textual.scroll_view
textual.signal
textual.strip
textual.suggester
textual.system_commands
textual.timer
textual.types
textual.validation
textual.walk
textual.widget
textual.work
textual.worker
textual.worker_manager
How To
How To
Center things
Design a Layout
Package a Textual app with Hatch
Render and compose
Style Inline Apps
Save time with Textual containers
FAQ
Roadmap
Blog
Blog
Archive
Archive
2025
2024
2023
2022
Categories
Categories
DevLog
News
Release
Table of contents
events
AppBlur
AppFocus
Blur
Callback
Click
chain
Compose
CursorPosition
DeliveryComplete
key
name
path
DeliveryFailed
exception
key
name
DescendantBlur
control
widget
DescendantFocus
control
widget
Enter
control
node
Event
Focus