Trait gtk::CalendarExt [] [src]

pub trait CalendarExt {
    fn clear_marks(&self);
    fn get_date(&self) -> (u32, u32, u32);
    fn get_day_is_marked(&self, day: u32) -> bool;
    fn get_detail_height_rows(&self) -> i32;
    fn get_detail_width_chars(&self) -> i32;
    fn get_display_options(&self) -> CalendarDisplayOptions;
    fn mark_day(&self, day: u32);
    fn select_day(&self, day: u32);
    fn select_month(&self, month: u32, year: u32);
    fn set_detail_height_rows(&self, rows: i32);
    fn set_detail_width_chars(&self, chars: i32);
    fn set_display_options(&self, flags: CalendarDisplayOptions);
    fn unmark_day(&self, day: u32);
    fn get_property_day(&self) -> i32;
    fn set_property_day(&self, day: i32);
    fn get_property_month(&self) -> i32;
    fn set_property_month(&self, month: i32);
    fn get_property_no_month_change(&self) -> bool;
    fn set_property_no_month_change(&self, no_month_change: bool);
    fn get_property_show_day_names(&self) -> bool;
    fn set_property_show_day_names(&self, show_day_names: bool);
    fn get_property_show_details(&self) -> bool;
    fn set_property_show_details(&self, show_details: bool);
    fn get_property_show_heading(&self) -> bool;
    fn set_property_show_heading(&self, show_heading: bool);
    fn get_property_show_week_numbers(&self) -> bool;
    fn set_property_show_week_numbers(&self, show_week_numbers: bool);
    fn get_property_year(&self) -> i32;
    fn set_property_year(&self, year: i32);
    fn connect_day_selected<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
    fn connect_day_selected_double_click<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_month_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_next_month<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_next_year<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_prev_month<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_prev_year<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors