Documentation ¶
Index ¶
- func NewSimpleCursorOption(values *CursorOption) *simpleCursorOption
- func NewSimpleTextOption(values *TextOption) *simpleTextOption
- type CursorOption
- type CursorStyler
- type Text
- func (t *Text) Backspace() bool
- func (t *Text) Cursor() (int, int)
- func (t *Text) Drop()
- func (t *Text) End()
- func (t *Text) Insert(alpha rune)
- func (t *Text) Left() bool
- func (t *Text) Line(no int) string
- func (t *Text) Lines() int
- func (t *Text) Move(to image.Point)
- func (t *Text) Raise()
- func (t *Text) Right() bool
- func (t *Text) Show()
- func (t *Text) String() string
- type TextOption
- type TextStyler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimpleCursorOption ¶
func NewSimpleCursorOption(values *CursorOption) *simpleCursorOption
func NewSimpleTextOption ¶
func NewSimpleTextOption(values *TextOption) *simpleTextOption
Types ¶
type CursorOption ¶
type CursorStyler ¶
type Text ¶
type Text struct {
// contains filtered or unexported fields
}
func NewText ¶
func NewText(app windower, text string, textStyler TextStyler, cursorStyler CursorStyler, ) *Text
type TextOption ¶
Click to show internal directories.
Click to hide internal directories.