Versions in this module Expand all Collapse all v0 v0.5.0-0.dev Jan 9, 2024 v0.4.0 Jan 9, 2024 Changes in this version type Activatable + func (b *Activatable) Update(gtx layout.Context) []Click type BackedBit + func (bit *BackedBit[T]) Update(gtx layout.Context) bool type Bool + func (b *Bool) Update(gtx layout.Context) bool type Boolean + Update func(layout.Context) bool type Clickable + func (b *Clickable) Update(gtx layout.Context) []Click + type FlameGraph struct + Samples []FlamegraphFrame + func (fg *FlameGraph) AddSample(sample FlamegraphSample, root string) + func (fg *FlameGraph) Compute() + type FlamegraphFrame struct + Children []FlamegraphFrame + Duration time.Duration + Name string + type FlamegraphSample []FlamegraphFrame + type GIF struct + GIF *gif.GIF + func NewGIF(g *gif.GIF) *GIF + func (g *GIF) Layout(gtx layout.Context, dir layout.Direction) layout.Dimensions v0.4.0-0.dev Aug 9, 2023 v0.3.0 Aug 7, 2023 Changes in this version + const DefaultHistogramBins + type Activatable struct + func (b *Activatable) Focus() + func (b *Activatable) Focused() bool + func (b *Activatable) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + type FloatDuration float64 + func (d FloatDuration) Ceil() time.Duration + func (d FloatDuration) Floor() time.Duration + type Histogram struct + BinWidth FloatDuration + Bins []int + Config *HistogramConfig + MaxBinValue int + MaxValue time.Duration + Overflow FloatDuration + Start FloatDuration + func NewHistogram(cfg *HistogramConfig, values []time.Duration) *Histogram + func (hist *Histogram) BucketRange(i int) (start, end FloatDuration) + func (hist *Histogram) HasOverflow() bool + type HistogramConfig struct + Bins int + End FloatDuration + RejectOutliers bool + Start FloatDuration + type PrimaryActivatable struct + func (b *PrimaryActivatable) Click() + func (b *PrimaryActivatable) Clicked() bool + func (b *PrimaryActivatable) Clicks() []Click + func (b *PrimaryActivatable) Focus() + func (b *PrimaryActivatable) Focused() bool + func (b *PrimaryActivatable) Hovered() bool + func (b *PrimaryActivatable) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + func (b *PrimaryActivatable) Pressed() bool + type Selectable = widget.Selectable v0.3.0-0.dev Apr 11, 2023 v0.2.0 Apr 11, 2023 Changes in this version + func ColorTextMaterial(gtx layout.Context, c color.NRGBA) op.CallOp + type BackedBit struct + Bit int + Bits *T + func (bit *BackedBit[T]) Changed() bool + func (bit *BackedBit[T]) Focused() bool + func (bit *BackedBit[T]) Get() bool + func (bit *BackedBit[T]) Hovered() bool + func (bit *BackedBit[T]) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + func (bit *BackedBit[T]) Pressed() bool + func (bit *BackedBit[T]) Set(b bool) type Bool + func (b *Bool) Get() bool + func (b *Bool) Set(v bool) + type Boolean interface + Get func() bool + Layout func(layout.Context, layout.Widget) layout.Dimensions + Set func(bool) v0.2.0-0.dev Mar 30, 2023 v0.1.0 Mar 30, 2023 Changes in this version + type Background struct + Color color.NRGBA + func (b Background) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + type Bool struct + Value bool + func (b *Bool) Changed() bool + func (b *Bool) Focused() bool + func (b *Bool) Hovered() bool + func (b *Bool) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + func (b *Bool) Pressed() bool + type Border struct + Color color.NRGBA + Width unit.Dp + func (b Border) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + type Bordered struct + Color color.NRGBA + Width unit.Dp + func (b Bordered) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + type ChangeEvent = widget.ChangeEvent + type Click struct + Button pointer.Buttons + Modifiers key.Modifiers + NumClicks int + type Clickable struct + func (b *Clickable) Click(btn pointer.Buttons) + func (b *Clickable) Clicked() (Click, bool) + func (b *Clickable) Clicks() []Click + func (b *Clickable) Focus() + func (b *Clickable) Focused() bool + func (b *Clickable) Hovered() bool + func (b *Clickable) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + func (b *Clickable) Pressed(btn pointer.Buttons) bool + type Editor = widget.Editor + type Image = widget.Image + type Label = widget.Label + type List struct + Cross Scrollbar + CrossOffset float32 + Main Scrollbar + Widest int + type PrimaryClickable struct + func (b *PrimaryClickable) Click() + func (b *PrimaryClickable) Clicked() bool + func (b *PrimaryClickable) Clicks() []Click + func (b *PrimaryClickable) Focus() + func (b *PrimaryClickable) Focused() bool + func (b *PrimaryClickable) Hovered() bool + func (b *PrimaryClickable) Layout(gtx layout.Context, w layout.Widget) layout.Dimensions + func (b *PrimaryClickable) Pressed() bool + type Scrollbar = widget.Scrollbar + type SubmitEvent = widget.SubmitEvent + type TextLine struct + Color color.NRGBA + func (tl TextLine) Layout(gtx layout.Context, shaper *text.Shaper, font text.Font, size unit.Sp, ...) layout.Dimensions