Clears focus (no element is focused).
(&mut self)
| 5789 | |
| 5790 | /// Clears focus (no element is focused). |
| 5791 | pub fn clear_focus(&mut self) { |
| 5792 | self.change_focus(0); |
| 5793 | } |
| 5794 | |
| 5795 | /// Internal: changes focus, firing on_unfocus on old and on_focus on new. |
| 5796 | pub(crate) fn change_focus(&mut self, new_id: u32) { |
nothing calls this directly
no test coverage detected