gtk::prelude

Trait CalendarExt

Source
pub trait CalendarExt:
    IsA<Calendar>
    + Sealed
    + 'static {
Show 47 methods // Provided methods fn clear_marks(&self) { ... } fn date(&self) -> (u32, u32, u32) { ... } fn day_is_marked(&self, day: u32) -> bool { ... } fn detail_height_rows(&self) -> i32 { ... } fn detail_width_chars(&self) -> i32 { ... } fn 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) -> Option<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 day(&self) -> i32 { ... } fn set_day(&self, day: i32) { ... } fn month(&self) -> i32 { ... } fn set_month(&self, month: i32) { ... } fn is_no_month_change(&self) -> bool { ... } fn set_no_month_change(&self, no_month_change: bool) { ... } fn shows_day_names(&self) -> bool { ... } fn set_show_day_names(&self, show_day_names: bool) { ... } fn shows_details(&self) -> bool { ... } fn set_show_details(&self, show_details: bool) { ... } fn shows_heading(&self) -> bool { ... } fn set_show_heading(&self, show_heading: bool) { ... } fn shows_week_numbers(&self) -> bool { ... } fn set_show_week_numbers(&self, show_week_numbers: bool) { ... } fn year(&self) -> i32 { ... } fn set_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_day_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_detail_height_rows_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_detail_width_chars_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_month_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_no_month_change_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_day_names_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_details_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_heading_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_week_numbers_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_year_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn clear_marks(&self)

Source

fn date(&self) -> (u32, u32, u32)

Source

fn day_is_marked(&self, day: u32) -> bool

Source

fn detail_height_rows(&self) -> i32

Source

fn detail_width_chars(&self) -> i32

Source

fn display_options(&self) -> CalendarDisplayOptions

Source

fn mark_day(&self, day: u32)

Source

fn select_day(&self, day: u32)

Source

fn select_month(&self, month: u32, year: u32)

Source

fn set_detail_func<P: Fn(&Calendar, u32, u32, u32) -> Option<String> + 'static>( &self, func: P, )

Source

fn set_detail_height_rows(&self, rows: i32)

Source

fn set_detail_width_chars(&self, chars: i32)

Source

fn set_display_options(&self, flags: CalendarDisplayOptions)

Source

fn unmark_day(&self, day: u32)

Source

fn day(&self) -> i32

Source

fn set_day(&self, day: i32)

Source

fn month(&self) -> i32

Source

fn set_month(&self, month: i32)

Source

fn is_no_month_change(&self) -> bool

Source

fn set_no_month_change(&self, no_month_change: bool)

Source

fn shows_day_names(&self) -> bool

Source

fn set_show_day_names(&self, show_day_names: bool)

Source

fn shows_details(&self) -> bool

Source

fn set_show_details(&self, show_details: bool)

Source

fn shows_heading(&self) -> bool

Source

fn set_show_heading(&self, show_heading: bool)

Source

fn shows_week_numbers(&self) -> bool

Source

fn set_show_week_numbers(&self, show_week_numbers: bool)

Source

fn year(&self) -> i32

Source

fn set_year(&self, year: i32)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§