components

package
Version: v0.0.0-...-b8644d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2021 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable(cond bool, w layout.Widget) layout.Widget

Types

type Clickable

type Clickable struct {
	// contains filtered or unexported fields
}

func (*Clickable) Clicker

func (clck *Clickable) Clicker() *widget.Clickable

func (Clickable) Event

func (clck Clickable) Event(ev event.Event)

type EditorDelegate

type EditorDelegate struct {
	// contains filtered or unexported fields
}

func NewEditorDelegate

func NewEditorDelegate() *EditorDelegate

func (*EditorDelegate) Bind

func (e *EditorDelegate) Bind(txt string) *EditorDelegate

func (*EditorDelegate) Editor

func (e *EditorDelegate) Editor() *widget.Editor

func (*EditorDelegate) Event

func (e *EditorDelegate) Event(event event.Event)

func (EditorDelegate) Value

func (e EditorDelegate) Value() string

type EventTarget

type EventTarget interface {
	Event(event.Event)
}

type InvalidateEvent

type InvalidateEvent bool

func (InvalidateEvent) ImplementsEvent

func (ev InvalidateEvent) ImplementsEvent()

ImplementsEvent is a marker for type event.Event

type UpdateEvent

type UpdateEvent struct {
	Value       interface{}
	Target      EventTarget
	Invalidates bool
}

func (UpdateEvent) ImplementsEvent

func (uev UpdateEvent) ImplementsEvent()

ImplementsEvent is a marker for type event.Event

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func (*Worker) Async

func (w *Worker) Async(target EventTarget, f func() interface{})

func (*Worker) Connect

func (w *Worker) Connect(conn scheduler.Connection)

Source Files

Jump to

Keyboard shortcuts

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