SendChange sends a new [events.Change] event, which is widely used to signal value changing for most widgets. It takes the event that the new change event is derived from, if any.
(original ...events.Event)
| 184 | // value changing for most widgets. It takes the event that the new change event |
| 185 | // is derived from, if any. |
| 186 | func (wb *WidgetBase) SendChange(original ...events.Event) { |
| 187 | wb.Send(events.Change, original...) |
| 188 | } |
| 189 | |
| 190 | // UpdateChange is a helper function that calls [WidgetBase.SendChange] |
| 191 | // and then [WidgetBase.Update]. That is the correct order, since |