Struct gtk::Calendar
[−]
pub struct Calendar(_, _);
Methods
impl Calendar
[src]
fn new() -> Calendar
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(&Calendar) + 'static>(&self, f: F) -> u64
fn connect_day_selected_double_click<F: Fn(&Calendar) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_month_changed<F: Fn(&Calendar) + 'static>(&self, f: F) -> u64
fn connect_next_month<F: Fn(&Calendar) + 'static>(&self, f: F) -> u64
fn connect_next_year<F: Fn(&Calendar) + 'static>(&self, f: F) -> u64
fn connect_prev_month<F: Fn(&Calendar) + 'static>(&self, f: F) -> u64
fn connect_prev_year<F: Fn(&Calendar) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for Calendar
fn clone(&self) -> Calendar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Calendar
impl Hash for Calendar
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Calendar
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Calendar
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.