Sets focus to the element with the given ID, firing on_unfocus/on_focus callbacks.
(&mut self, element_id: u32)
| 5784 | |
| 5785 | /// Sets focus to the element with the given ID, firing on_unfocus/on_focus callbacks. |
| 5786 | pub fn set_focus(&mut self, element_id: u32) { |
| 5787 | self.change_focus(element_id); |
| 5788 | } |
| 5789 | |
| 5790 | /// Clears focus (no element is focused). |
| 5791 | pub fn clear_focus(&mut self) { |
nothing calls this directly
no test coverage detected