[][src]Trait gtk::CalendarExt

pub trait CalendarExt: 'static {
    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_func<P: Fn(&Calendar, u32, u32, u32) -> String + 'static>(
        &self,
        func: P
    );
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
    ) -> SignalHandlerId;
fn connect_day_selected_double_click<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_month_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_next_month<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_next_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_prev_month<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_prev_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_day_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_detail_height_rows_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_detail_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_month_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_no_month_change_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_day_names_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_details_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_heading_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_week_numbers_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_year_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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_func<P: Fn(&Calendar, u32, u32, u32) -> String + 'static>(
    &self,
    func: P
)

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) -> SignalHandlerId

fn connect_day_selected_double_click<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_month_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_next_month<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_next_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_prev_month<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_prev_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_property_day_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_detail_height_rows_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_detail_width_chars_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_month_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_no_month_change_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_show_day_names_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_show_details_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_show_heading_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_show_week_numbers_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_year_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Calendar>> CalendarExt for O[src]

Loading content...