Documentation
¶
Index ¶
- type Input
- func (in *Input) IsEnabled() bool
- func (in *Input) OnChange(callback func())
- func (in *Input) Placeholder() string
- func (in *Input) Raw() fltk_bridge.Widget
- func (in *Input) SetBackgroundColor(color uint)
- func (in *Input) SetEnabled(enabled bool)
- func (in *Input) SetFont(font fltk_bridge.Font)
- func (in *Input) SetFontSize(size int)
- func (in *Input) SetPlaceholder(placeholder string)
- func (in *Input) SetText(text string)
- func (in *Input) SetTextColor(color uint)
- func (in *Input) Text() string
- func (in *Input) View() *view.UIView
- type InputType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
Input 输入框组件
func NewWithType ¶
NewWithType 创建一个指定类型的输入框
func (*Input) SetBackgroundColor ¶
SetBackgroundColor 设置背景颜色
func (*Input) SetPlaceholder ¶
SetPlaceholder 设置占位文本
Click to show internal directories.
Click to hide internal directories.