Function cosmic::iced_widget::pane_grid::update
source ยท pub fn update<'a, Message, T>(
action: &mut Action,
node: &Node,
event: &Event,
layout: Layout<'_>,
cursor: Cursor,
shell: &mut Shell<'_, Message>,
spacing: f32,
contents: impl Iterator<Item = (Pane, T)>,
on_click: &Option<Box<dyn Fn(Pane) -> Message + 'a>>,
on_drag: &Option<Box<dyn Fn(DragEvent) -> Message + 'a>>,
on_resize: &Option<(f32, Box<dyn Fn(ResizeEvent) -> Message + 'a>)>,
) -> Statuswhere
T: Draggable,