customwidgets

package
v0.0.0-...-19ed411 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextInput

type TextInput struct {
	// contains filtered or unexported fields
}

func NewTextInput

func NewTextInput() *TextInput

func (*TextInput) Flush

func (self *TextInput) Flush()

Flush clears the text input.

func (*TextInput) GetDrawableWidget

func (self *TextInput) GetDrawableWidget() *widgets.Paragraph

GetDrawableWidget returns the drawable widget for the text input in its drawable ready state.

func (*TextInput) GetText

func (self *TextInput) GetText() string

func (*TextInput) HandleInput

func (self *TextInput) HandleInput(char string, disableNewLines bool)

func (*TextInput) SetText

func (self *TextInput) SetText(text string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL