| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/prompt_toolkit/widgets/ |
Upload File : |
"""
Collection of reusable components for building full screen applications.
These are higher level abstractions on top of the `prompt_toolkit.layout`
module.
Most of these widgets implement the ``__pt_container__`` method, which makes it
possible to embed these in the layout like any other container.
"""
from .base import (
Box,
Button,
Checkbox,
CheckboxList,
Frame,
HorizontalLine,
Label,
ProgressBar,
RadioList,
Shadow,
TextArea,
VerticalLine,
)
from .dialogs import Dialog
from .menus import MenuContainer, MenuItem
from .toolbars import (
ArgToolbar,
CompletionsToolbar,
FormattedTextToolbar,
SearchToolbar,
SystemToolbar,
ValidationToolbar,
)
__all__ = [
# Base.
"TextArea",
"Label",
"Button",
"Frame",
"Shadow",
"Box",
"VerticalLine",
"HorizontalLine",
"CheckboxList",
"RadioList",
"Checkbox",
"ProgressBar",
# Toolbars.
"ArgToolbar",
"CompletionsToolbar",
"FormattedTextToolbar",
"SearchToolbar",
"SystemToolbar",
"ValidationToolbar",
# Dialogs.
"Dialog",
# Menus.
"MenuContainer",
"MenuItem",
]