checkbox

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 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 (*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

Jump to

Keyboard shortcuts

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