Text returns the Button's text.
()
| 34 | |
| 35 | // Text returns the Button's text. |
| 36 | func (b *Button) Text() string { |
| 37 | ctext := C.uiButtonText(b.b) |
| 38 | text := C.GoString(ctext) |
| 39 | C.uiFreeText(ctext) |
| 40 | return text |
| 41 | } |
| 42 | |
| 43 | // SetText sets the Button's text to text. |
| 44 | func (b *Button) SetText(text string) { |
nothing calls this directly
no outgoing calls
no test coverage detected