Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ButtonOptions ¶
type ButtonOptions func(options *buttonOptions)
type ButtonStyle ¶
type ButtonStyle struct { CornerRadius unit.Dp Disabled bool Primary bool Button *widget.Clickable }
func (ButtonStyle) Layout ¶
func (b ButtonStyle) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions
type ButtonWidget ¶
type ButtonWidget struct {
// contains filtered or unexported fields
}
func Button ¶
func Button(t *Theme, clickable *widget.Clickable, label string, options ...ButtonOptions) *ButtonWidget
func (*ButtonWidget) Layout ¶
func (b *ButtonWidget) Layout(gtx layout.Context) layout.Dimensions
type CheckboxWidget ¶ added in v0.0.7
type CheckboxWidget struct {
// contains filtered or unexported fields
}
func (CheckboxWidget) Layout ¶ added in v0.0.7
func (c CheckboxWidget) Layout(gtx layout.Context) layout.Dimensions
type InputStyle ¶ added in v0.0.16
func (InputStyle) Layout ¶ added in v0.0.16
func (b InputStyle) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions
type ProgressBar ¶ added in v0.0.5
type ProgressBar struct { Progress float32 // contains filtered or unexported fields }
func NewProgressBar ¶ added in v0.0.5
func NewProgressBar(th *cu.Theme, progress float32) ProgressBar
func (ProgressBar) Layout ¶ added in v0.0.5
func (p ProgressBar) Layout(gtx layout.Context) layout.Dimensions
type TextInputWidget ¶ added in v0.0.16
type TextInputWidget struct { Editor *widget.Editor Hint string // contains filtered or unexported fields }
func (TextInputWidget) Layout ¶ added in v0.0.16
func (t TextInputWidget) Layout(gtx layout.Context) layout.Dimensions
Source Files ¶
Click to show internal directories.
Click to hide internal directories.