Documentation ¶
Index ¶
- type Check
- func (check *Check) Checked() bool
- func (check *Check) Embodiment() string
- func (check *Check) Label() string
- func (check *Check) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (check *Check) SetChecked(b bool)
- func (check *Check) SetEmbodiment(s string)
- func (check *Check) SetLabel(s string)
- type CheckWith
- type Choice
- func (choice *Choice) Choice() string
- func (choice *Choice) Choices() []string
- func (choice *Choice) Embodiment() string
- func (choice *Choice) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (choice *Choice) SetChoice(s string)
- func (choice *Choice) SetChoices(sa []string)
- func (choice *Choice) SetChoicesVA(sa ...string)
- func (choice *Choice) SetEmbodiment(s string)
- type ChoiceWith
- type Command
- func (cmd *Command) Embodiment() string
- func (cmd *Command) Label() string
- func (cmd *Command) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (cmd *Command) SetEmbodiment(s string)
- func (cmd *Command) SetLabel(s string)
- func (cmd *Command) SetStatus(i int)
- func (cmd *Command) Status() int
- type CommandWith
- type FieldRef
- type Frame
- func (frame *Frame) FrameItems() []primitive.Interface
- func (frame *Frame) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
- func (frame *Frame) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (frame *Frame) SetFrameItems(items []primitive.Interface)
- func (frame *Frame) SetFrameItemsVA(items ...primitive.Interface)
- type FrameWith
- type Group
- func (grp *Group) Embodiment() string
- func (grp *Group) GroupItems() []primitive.Interface
- func (grp *Group) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
- func (grp *Group) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (grp *Group) SetEmbodiment(s string)
- func (grp *Group) SetGroupItems(items []primitive.Interface)
- func (grp *Group) SetGroupItemsVA(items ...primitive.Interface)
- type GroupWith
- type List
- func (list *List) Embodiment() string
- func (list *List) ListItems() []primitive.Interface
- func (list *List) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
- func (list *List) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (list *List) Selected() int
- func (list *List) SetEmbodiment(s string)
- func (list *List) SetListItems(items []primitive.Interface)
- func (list *List) SetListItemsVA(items ...primitive.Interface)
- func (list *List) SetSelected(selected int)
- func (list *List) SetTemplateItem(item primitive.Interface)
- func (list *List) TemplateItem() primitive.Interface
- type ListWith
- type ProntoGUI
- type Reserved
- func (r *Reserved) EgestUpdate(fullupdate bool, fkeys []key.FKey) map[any]any
- func (r *Reserved) IngestUpdate(update map[any]any) error
- func (r *Reserved) InternalPrepareForUpdates(pkey key.PKey, onset key.OnSetFunction, getFields func() []FieldRef)
- func (r *Reserved) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
- type Synchro
- func (s *Synchro) GetFullUpdate() ([]byte, error)
- func (s *Synchro) GetPartialUpdate() ([]byte, error)
- func (s *Synchro) GetTopPrimitives() []primitive.Interface
- func (s *Synchro) IngestUpdate(updatesCbor []byte) (updatedPrimitive primitive.Interface, updateError error)
- func (s *Synchro) OnSet(pkey key.PKey, fkey key.FKey, structural bool)
- func (s *Synchro) SetTopPrimitives(primitives ...primitive.Interface)
- type Text
- type TextField
- type TextFieldWith
- type TextWith
- type Tristate
- func (tri *Tristate) Embodiment() string
- func (tri *Tristate) Label() string
- func (tri *Tristate) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
- func (tri *Tristate) SetEmbodiment(s string)
- func (tri *Tristate) SetLabel(s string)
- func (tri *Tristate) SetState(i int)
- func (tri *Tristate) State() int
- type TristateWith
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶ added in v0.0.16
type Check struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Check) Embodiment ¶ added in v0.0.27
func (*Check) PrepareForUpdates ¶ added in v0.0.16
func (check *Check) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Check) SetChecked ¶ added in v0.0.16
func (*Check) SetEmbodiment ¶ added in v0.0.27
type Choice ¶ added in v0.0.16
type Choice struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Choice) Embodiment ¶ added in v0.0.27
func (*Choice) PrepareForUpdates ¶ added in v0.0.16
func (choice *Choice) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Choice) SetChoices ¶ added in v0.0.16
func (*Choice) SetChoicesVA ¶ added in v0.0.16
Set the Choices field using variadic string arguments.
func (*Choice) SetEmbodiment ¶ added in v0.0.27
type ChoiceWith ¶ added in v0.0.17
func (ChoiceWith) Make ¶ added in v0.0.17
func (w ChoiceWith) Make() *Choice
type Command ¶ added in v0.0.10
type Command struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Command) Embodiment ¶ added in v0.0.27
func (*Command) PrepareForUpdates ¶ added in v0.0.10
func (cmd *Command) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Command) SetEmbodiment ¶ added in v0.0.27
type CommandWith ¶ added in v0.0.17
func (CommandWith) Make ¶ added in v0.0.17
func (w CommandWith) Make() *Command
Makes a new Command with specified field values.
type Frame ¶ added in v0.0.29
type Frame struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Frame) FrameItems ¶ added in v0.0.29
func (*Frame) LocateNextDescendant ¶ added in v0.0.30
func (frame *Frame) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
TODO: generalize this code by handling inside primitive Reserved area.
func (*Frame) PrepareForUpdates ¶ added in v0.0.29
func (frame *Frame) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Frame) SetFrameItems ¶ added in v0.0.29
func (*Frame) SetFrameItemsVA ¶ added in v0.0.29
type Group ¶ added in v0.0.16
type Group struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Group) Embodiment ¶ added in v0.0.27
func (*Group) GroupItems ¶ added in v0.0.16
func (*Group) LocateNextDescendant ¶ added in v0.0.27
func (grp *Group) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
TODO: generalize this code by handling inside primitive Reserved area.
func (*Group) PrepareForUpdates ¶ added in v0.0.16
func (grp *Group) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Group) SetEmbodiment ¶ added in v0.0.27
func (*Group) SetGroupItems ¶ added in v0.0.16
func (*Group) SetGroupItemsVA ¶ added in v0.0.16
type List ¶ added in v0.0.25
type List struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*List) Embodiment ¶ added in v0.0.27
func (*List) LocateNextDescendant ¶ added in v0.0.27
func (list *List) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
TODO: generalize this code by handling inside primitive Reserved area.
func (*List) PrepareForUpdates ¶ added in v0.0.25
func (list *List) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*List) SetEmbodiment ¶ added in v0.0.27
func (*List) SetListItems ¶ added in v0.0.25
func (*List) SetListItemsVA ¶ added in v0.0.25
func (*List) SetSelected ¶ added in v0.0.25
func (*List) SetTemplateItem ¶ added in v0.0.27
func (*List) TemplateItem ¶ added in v0.0.27
type ListWith ¶ added in v0.0.25
type ProntoGUI ¶ added in v0.0.11
type ProntoGUI interface { StartServing(addr string, port int) error StopServing() SetGUI(primitives ...primitive.Interface) Wait() (updatedPrimitive primitive.Interface, waitError error) }
func NewProntoGUI ¶ added in v0.0.11
func NewProntoGUI() ProntoGUI
type Reserved ¶ added in v0.0.10
type Reserved struct {
// contains filtered or unexported fields
}
Reserved fields for primitive updates.
func (*Reserved) EgestUpdate ¶ added in v0.0.11
func (*Reserved) IngestUpdate ¶ added in v0.0.11
func (*Reserved) InternalPrepareForUpdates ¶ added in v0.0.27
func (*Reserved) LocateNextDescendant ¶ added in v0.0.27
func (r *Reserved) LocateNextDescendant(locator *key.PKeyLocator) primitive.Interface
type Synchro ¶ added in v0.0.11
type Synchro struct {
// contains filtered or unexported fields
}
func NewSynchro ¶ added in v0.0.11
func NewSynchro() *Synchro
func (*Synchro) GetFullUpdate ¶ added in v0.0.11
func (*Synchro) GetPartialUpdate ¶ added in v0.0.11
func (*Synchro) GetTopPrimitives ¶ added in v0.0.11
func (*Synchro) IngestUpdate ¶ added in v0.0.11
func (*Synchro) SetTopPrimitives ¶ added in v0.0.11
type Text ¶ added in v0.0.15
type Text struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Text) Embodiment ¶ added in v0.0.27
func (*Text) PrepareForUpdates ¶ added in v0.0.15
func (txt *Text) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Text) SetContent ¶ added in v0.0.15
func (*Text) SetEmbodiment ¶ added in v0.0.27
type TextField ¶ added in v0.0.28
type TextField struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*TextField) Embodiment ¶ added in v0.0.28
func (*TextField) PrepareForUpdates ¶ added in v0.0.28
func (txt *TextField) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*TextField) SetEmbodiment ¶ added in v0.0.28
func (*TextField) SetTextEntry ¶ added in v0.0.28
type TextFieldWith ¶ added in v0.0.28
func (TextFieldWith) Make ¶ added in v0.0.28
func (w TextFieldWith) Make() *TextField
type Tristate ¶ added in v0.0.16
type Tristate struct { // Mix-in the common guts for primitives Reserved // contains filtered or unexported fields }
func (*Tristate) Embodiment ¶ added in v0.0.27
func (*Tristate) PrepareForUpdates ¶ added in v0.0.16
func (tri *Tristate) PrepareForUpdates(pkey key.PKey, onset key.OnSetFunction)
func (*Tristate) SetEmbodiment ¶ added in v0.0.27
type TristateWith ¶ added in v0.0.17
func (TristateWith) Make ¶ added in v0.0.17
func (w TristateWith) Make() *Tristate
Source Files ¶
Click to show internal directories.
Click to hide internal directories.