offset_x: f32 = 0.0, offset_y: f32 = 0.0
(&self, item: &dyn Element, offset_x: f32, offset_y: f32)
| 121 | |
| 122 | // offset_x: f32 = 0.0, offset_y: f32 = 0.0 |
| 123 | pub fn add_item(&self, item: &dyn Element, offset_x: f32, offset_y: f32) { |
| 124 | self.list.add_item(item, offset_x, offset_y); |
| 125 | self.list.set_visible(self.state.borrow().is_open); |
| 126 | } |
| 127 | |
| 128 | pub fn close_list(&self) { |
| 129 | self.list.uncapture(); |
nothing calls this directly
no test coverage detected