Documentation ¶
Index ¶
- Constants
- Variables
- type Accessor
- type AppState
- type Backend
- type ButtonElement
- type ButtonType
- type ComplexContainerElement
- type Component
- type Components
- type Constructor
- type ContainerType
- type Element
- type InputElement
- type InputType
- type RadioElement
- type SelectorElement
- type SimpleContainerElement
- type TextElement
- type TextType
- type Updater
- type Window
- type Wrapper
Constants ¶
View Source
const Focusable = true
View Source
const MultiSelect = true
View Source
const NoViewLimit = -1
View Source
const NonFocusable = true
View Source
const SelectOne = false
Variables ¶
View Source
var AcceptBtn = utils.AcceptBtn
View Source
var App = app.New
constructors
View Source
var Button = func(lbl string, btntype ButtonType, callback tea.Msg) container.SimpleContainer { return ButtonWithID(-1, lbl, btntype, callback) }
View Source
var ButtonWithID = component.NewButton
View Source
var Callback = utils.Callback
messages
View Source
var Container = container.NewComplexContainer
View Source
var ControlBtn = utils.ControlBtn
View Source
var DbgCmd = utils.DebugCmd
View Source
var DimmedText = utils.DimmedText
View Source
var HorizontalContainer = utils.HorizontalContainer
View Source
var HorizontalContainerBottom = utils.HorizontalContainerBottom
View Source
var HorizontalContainerTop = utils.HorizontalContainerTop
View Source
var Input = func(lbl, def, plc string, inptype InputType, callback tea.Msg) container.SimpleContainer { return InputWithID(-1, lbl, def, plc, inptype, callback) }
View Source
var InputWithID = component.NewInput
View Source
var LabelText = utils.LabelText
View Source
var NoCallback tea.Msg = nil
View Source
var NormalText = utils.NormalText
View Source
var PathInput = utils.PathInput
View Source
var Radio = func(lbl string, callback tea.Msg) container.SimpleContainer { return RadioWithID(-1, lbl, callback) }
View Source
var RadioWithID = component.NewRadio
View Source
var Selector = func(opt []string, mult bool, view_limit int, callback tea.Msg) container.SimpleContainer { return SelectorWithID(-1, opt, mult, view_limit, callback) }
View Source
var SelectorWithID = component.NewSelector
View Source
var SimpleBtn = utils.SimpleBtn
View Source
var Text = func(txt string, txttype TextType) container.SimpleContainer { return TextWithID(-1, txt, txttype) }
View Source
var TextInput = utils.TextInput
View Source
var TextWithID = component.NewText
View Source
var TgtCmd = utils.TargetCmd
View Source
var VerticalContainer = utils.VerticalContainer
View Source
var VerticalContainerCenter = utils.VerticalContainerCenter
View Source
var VerticalContainerRight = utils.VerticalContainerRight
Functions ¶
This section is empty.
Types ¶
type ButtonElement ¶ added in v1.3.0
type ButtonType ¶
type ButtonType = utils.ButtonType
type ComplexContainerElement ¶ added in v1.3.2
type ComplexContainerElement = container.ComplexContainer
type Components ¶ added in v1.3.3
type Constructor ¶
type Constructor = app.Constructor
type InputElement ¶ added in v1.3.0
type RadioElement ¶ added in v1.3.0
type SelectorElement ¶ added in v1.3.0
type SimpleContainerElement ¶ added in v1.3.2
type SimpleContainerElement = container.SimpleContainer
Click to show internal directories.
Click to hide internal directories.