Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelRadioGroup ¶
type LabelRadioGroup struct { widget.RadioGroup // contains filtered or unexported fields }
func NewLabelRadioGroup ¶
func NewLabelRadioGroup(question *TestQuestion, options []string, change func(string)) *LabelRadioGroup
func (*LabelRadioGroup) Add ¶ added in v0.1.8
func (l *LabelRadioGroup) Add(options ...string)
func (*LabelRadioGroup) Answer ¶
func (l *LabelRadioGroup) Answer() string
func (*LabelRadioGroup) SetSelect ¶
func (l *LabelRadioGroup) SetSelect(keyPressed fyne.KeyName)
type TestQuestion ¶
type TestQuestion struct { Question *testparts.GormQuestion Options *LabelRadioGroup Answer string // contains filtered or unexported fields }
func NewTestQuestion ¶
func NewTestQuestion(question *testparts.GormQuestion, allocTime time.Duration, next *widget.Button) *TestQuestion
func (*TestQuestion) Ask ¶
func (q *TestQuestion) Ask(countDown *widget.ProgressBar, content *fyne.Container)
func (*TestQuestion) Correct ¶ added in v0.1.8
func (q *TestQuestion) Correct() bool
func (*TestQuestion) Show ¶
func (q *TestQuestion) Show() *fyne.Container
Click to show internal directories.
Click to hide internal directories.