Documentation
¶
Index ¶
- type CheckboxStyle
- type UICheckbox
- func (c *UICheckbox) ApplyStyle(style CheckboxStyle)
- func (c *UICheckbox) OnValueChanged(cb func(bool))
- func (c *UICheckbox) Raw() *fltk_bridge.CheckButton
- func (c *UICheckbox) SetValue(val bool)
- func (c *UICheckbox) Style() CheckboxStyle
- func (c *UICheckbox) Value() bool
- func (c *UICheckbox) View() *view.UIView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckboxStyle ¶
type CheckboxStyle struct {
Font fltk_bridge.Font
FontSize int
TextColor uint
Color uint
}
func DefaultCheckboxStyle ¶
func DefaultCheckboxStyle() CheckboxStyle
type UICheckbox ¶
type UICheckbox struct {
// contains filtered or unexported fields
}
func NewUICheckbox ¶
func NewUICheckbox(r *foundation.Rect, title string) *UICheckbox
func NewUICheckboxWithOptions ¶
func NewUICheckboxWithOptions(r *foundation.Rect, title string, style CheckboxStyle) *UICheckbox
func (*UICheckbox) ApplyStyle ¶
func (c *UICheckbox) ApplyStyle(style CheckboxStyle)
func (*UICheckbox) OnValueChanged ¶
func (c *UICheckbox) OnValueChanged(cb func(bool))
func (*UICheckbox) Raw ¶
func (c *UICheckbox) Raw() *fltk_bridge.CheckButton
func (*UICheckbox) SetValue ¶
func (c *UICheckbox) SetValue(val bool)
func (*UICheckbox) Style ¶
func (c *UICheckbox) Style() CheckboxStyle
func (*UICheckbox) Value ¶
func (c *UICheckbox) Value() bool
func (*UICheckbox) View ¶
func (c *UICheckbox) View() *view.UIView
Click to show internal directories.
Click to hide internal directories.