fn with_cancel(
        dialog: &'dialog mut InputDialog<F>,
        cursor: usize,
        selected: InputDialogItem,
    ) -> Self {
        Self::new(dialog, cursor, selected, true)
    }
/// Creates a selector frm the given dialog, cursor position and selected
/// item, with CANCEL being a possibility.
Creates a selector frm the given dialog, cursor position and selected
item, with CANCEL being a possibility.
Creates a selector frm the given dialog cursor position and selected item with CANCEL being a possibility .
fn with_cancel(
        dialog: &'dialog mut InputDialog<F>,
        cursor: usize,
        selected: InputDialogItem,
    ) -> Self {
        Self::new(dialog, cursor, selected, true)
    }
fn with_cancel ( dialog : & ' dialog mut InputDialog < F > , cursor : usize , selected : InputDialogItem , ) -> Self { Self :: new ( dialog , cursor , selected , true ) }
Creates a selector frm the given dialog, cursor position and selected
item, with CANCEL being a possibility.
Creates a selector frm the given dialog cursor position and selected item with CANCEL being a possibility .
dialog
&'dialog mut InputDialog<F>
cursor
usize
selected
InputDialogItem
dialog
&'dialog mut InputDialog<F>
cursor
usize
selected
InputDialogItem