textview

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyEvent

type KeyEvent struct {
	Key   int
	Text  string
	State int
}

type UITextView

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

func NewUITextView

func NewUITextView(r *foundation.Rect) *UITextView

func (*UITextView) Append

func (t *UITextView) Append(text string)

func (*UITextView) AppendAndScroll

func (t *UITextView) AppendAndScroll(text string)

func (*UITextView) AppendText

func (t *UITextView) AppendText(text string)

func (*UITextView) On

func (t *UITextView) On(event fltk_bridge.Event, handler func(fltk_bridge.Event) bool)

func (*UITextView) OnKey

func (t *UITextView) OnKey(cb func(KeyEvent) bool)

func (*UITextView) OnTextChanged

func (t *UITextView) OnTextChanged(cb func())

func (*UITextView) Raw

func (t *UITextView) Raw() *fltk_bridge.TextEditor

func (*UITextView) ScrollToEnd

func (t *UITextView) ScrollToEnd()

func (*UITextView) SetAutomationID

func (t *UITextView) SetAutomationID(id string) *UITextView

func (*UITextView) SetAutomationName

func (t *UITextView) SetAutomationName(name string) *UITextView

func (*UITextView) SetBackgroundColor

func (t *UITextView) SetBackgroundColor(rgb uint)

func (*UITextView) SetFont

func (t *UITextView) SetFont(font fltk_bridge.Font)

func (*UITextView) SetFontSize

func (t *UITextView) SetFontSize(size int)

func (*UITextView) SetTabWidth

func (t *UITextView) SetTabWidth(width int)

func (*UITextView) SetText

func (t *UITextView) SetText(text string)

func (*UITextView) SetTextColor

func (t *UITextView) SetTextColor(rgb uint)

func (*UITextView) SetWrapAtBounds

func (t *UITextView) SetWrapAtBounds()

func (*UITextView) SetWrapNone

func (t *UITextView) SetWrapNone()

func (*UITextView) Text

func (t *UITextView) Text() string

func (*UITextView) TextBuffer

func (t *UITextView) TextBuffer() *fltk_bridge.TextBuffer

func (*UITextView) View

func (t *UITextView) View() *view.UIView

Jump to

Keyboard shortcuts

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