The current focused control, None if none
(&self)
| 219 | |
| 220 | /// The current focused control, None if none |
| 221 | pub fn focused(&self) -> Option<&Box<dyn Element>> { |
| 222 | // self.focused |
| 223 | todo!() |
| 224 | } |
| 225 | |
| 226 | pub fn set_focused(&mut self, control: Option<&dyn Element>) { |
| 227 | if let Some(focused) = self.focused { |
no outgoing calls
no test coverage detected