Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorPicker ¶
type ColorPicker interface {
fyne.CanvasObject
SetColor(color.Color)
SetOnChanged(func(color.Color))
}
ColorPicker represents color picker component.
type PickerOpenWidget ¶ added in v0.4.0
type PickerOpenWidget interface {
fyne.CanvasObject
SetOnChange(f func(color.Color))
SetPickerStyle(s PickerStyle)
}
PickerOpenWidget represents a widget that can open a color picker.
func NewColorSelectModalRect ¶ added in v0.4.0
func NewColorSelectModalRect(parent fyne.Window, minSize fyne.Size, defalutColor color.Color) PickerOpenWidget
NewColorSelectModalRect returns a rectangle that can be tapped to open a color picker modal.
type PickerStyle ¶
type PickerStyle int
PickerStyle represents how the picker is displayed.
const ( // StyleDefault is style to display saturation-value area and vertical hue bar. StyleDefault PickerStyle = iota // StyleCircle is style to display saturation-value area and circle hue bar. StyleCircle // StyleValue is style to display hue-saturation area and vertical value bar. StyleValue )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.