pub fn update<'a, Message, T: Draggable>(
    action: &mut Action,
    node: &Node,
    event: &Event,
    layout: Layout<'_>,
    cursor_position: Point,
    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>)>
) -> Status
Expand description

Processes an Event and updates the state of a PaneGrid accordingly.