votingpage

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CandCards

func CandCards(cands []*vutil.Candidate) fyne.CanvasObject

func LoadPage

func LoadPage(bAddr, vCfgCid string, v viface.IVoting) (string, fyne.CanvasObject)

func NewSetupPage

func NewSetupPage(w fyne.Window, vs map[string]viface.IVoting) fyne.CanvasObject

Types

type CandForm

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

func NewCandForm

func NewCandForm() *CandForm

func (*CandForm) Candidates

func (cf *CandForm) Candidates() []*vutil.Candidate

func (*CandForm) Render

func (cf *CandForm) Render(w fyne.Window) fyne.CanvasObject

type VParamEntry

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

func NewVParamEntry

func NewVParamEntry() *VParamEntry

func (*VParamEntry) Render

func (vpe *VParamEntry) Render() fyne.CanvasObject

func (*VParamEntry) VoteParams

func (vpe *VParamEntry) VoteParams() *vutil.VoteParams

Jump to

Keyboard shortcuts

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