cosmic::widget::calendar

Function calendar

source
pub fn calendar<M>(
    model: &CalendarModel,
    on_select: impl Fn(NaiveDate) -> M + 'static,
    on_prev: impl Fn() -> M + 'static,
    on_next: impl Fn() -> M + 'static,
) -> Calendar<'_, M>
Expand description

A widget that displays an interactive calendar.