LabelSwatch, LabelCheckbox changing their labels
This commit is contained in:
@@ -47,6 +47,11 @@ func (this *LabelCheckbox) SetFocused (focused bool) {
|
||||
this.checkbox.SetFocused(focused)
|
||||
}
|
||||
|
||||
// SetText sets the text label of the checkbox.
|
||||
func (this *LabelCheckbox) SetText (text string) {
|
||||
this.label.SetText(text)
|
||||
}
|
||||
|
||||
// Value returns the value of the checkbox.
|
||||
func (this *LabelCheckbox) Value () bool {
|
||||
return this.checkbox.Value()
|
||||
|
||||
Reference in New Issue
Block a user