Documentation
¶
Overview ¶
Package sneatv keeps the small compatibility surface used by datatug-cli while filetug's UI helpers live in dedicated packages.
Index ¶
- Variables
- func DefaultBorderWithPadding(box *tview.Box)
- func DefaultBorderWithoutPadding(box *tview.Box)
- func SetPanelTitle(box *tview.Box, title string)
- type Breadcrumb
- type Breadcrumbs
- type ButtonWithShortcut
- type PrimitiveWithBox
- type Tab
- type TabStyles
- type Tabs
- type TabsApp
- type TabsOption
- type TabsStyle
- type WithBoxType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnderlineTabsStyle = sneatv.UnderlineTabsStyle DefaultFocusedBorderColor = colors.DefaultFocusedBorderColor DefaultBlurBorderColor = colors.DefaultBlurBorderColor )
View Source
var ( NewBreadcrumb = crumbs.NewBreadcrumb NewBreadcrumbs = crumbs.NewBreadcrumbs NewButtonWithShortcut = button.NewWithShortcut WithLabel = sneatv.WithLabel FocusDown = sneatv.FocusDown FocusLeft = sneatv.FocusLeft FocusUp = sneatv.FocusUp )
Functions ¶
func SetPanelTitle ¶
Types ¶
type Breadcrumb ¶
type Breadcrumb = crumbs.Breadcrumb
type Breadcrumbs ¶
type Breadcrumbs = crumbs.Breadcrumbs
type ButtonWithShortcut ¶
type ButtonWithShortcut = button.WithShortcut
type PrimitiveWithBox ¶
type PrimitiveWithBox = boxed.PrimitiveWithBox
type Tabs ¶
func NewTabs ¶
func NewTabs(app *tview.Application, style TabsStyle, options ...TabsOption) *Tabs
type TabsOption ¶
type TabsOption = sneatv.TabsOption
type WithBoxType ¶
type WithBoxType[T tview.Primitive] = boxed.WithBoxType[T]
func WithBordersWithoutPadding ¶
func WithBordersWithoutPadding[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]
func WithBoxWithoutBorder ¶
func WithBoxWithoutBorder[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]
func WithDefaultBorders ¶
func WithDefaultBorders[T tview.Primitive](p T, box *tview.Box) WithBoxType[T]
Click to show internal directories.
Click to hide internal directories.