Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Button ¶
type Button struct {
// contains filtered or unexported fields
}
Button is a clickable area with a label.
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label is just non-interactive text
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Menu is a collection of buttons
type Slider ¶
type Slider struct {
// contains filtered or unexported fields
}
Slider shows is a control that can be dragged from left to right. The value ranges from 0 to 100.
type TextBox ¶
type TextBox struct {
// contains filtered or unexported fields
}
TextBox is a multiline Label. It will word-wrap the given content. The conent will never cross the boundaries of the TextBox, and will be truncated if longer.
func NewTextBox ¶
NewTextBox creates a new TextBox
type TextField ¶
type TextField struct {
// contains filtered or unexported fields
}
TextField displays a string and lets the user modify it
func NewTextField ¶
NewTextField creates a text field
func (*TextField) SetContent ¶
SetContent asynchronously sets the content of the text field
Source Files
¶
Click to show internal directories.
Click to hide internal directories.