OnChanged registers f to be run when the user changes the currently selected font in the FontButton. Only one function can be registered at a time.
(f func(*FontButton))
| 44 | // currently selected font in the FontButton. Only one function can |
| 45 | // be registered at a time. |
| 46 | func (b *FontButton) OnChanged(f func(*FontButton)) { |
| 47 | b.onChanged = f |
| 48 | } |
| 49 | |
| 50 | //export pkguiDoFontButtonOnChanged |
| 51 | func pkguiDoFontButtonOnChanged(bb *C.uiFontButton, data unsafe.Pointer) { |
nothing calls this directly
no outgoing calls
no test coverage detected