| 22 | } |
| 23 | |
| 24 | type Button struct { |
| 25 | WidgetBase |
| 26 | checkedChangedPublisher EventPublisher |
| 27 | clickedPublisher EventPublisher |
| 28 | textChangedPublisher EventPublisher |
| 29 | imageChangedPublisher EventPublisher |
| 30 | image Image |
| 31 | persistent bool |
| 32 | } |
| 33 | |
| 34 | func (b *Button) init() { |
| 35 | b.MustRegisterProperty("Checked", NewBoolProperty( |
nothing calls this directly
no outgoing calls
no test coverage detected