Class Calendar
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Calendar : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
Calendar
- Implements
- Inherited Members
Constructors
Calendar()
public Calendar()
Calendar(params ConstructArgument[])
protected Calendar(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Calendar(IntPtr, bool)
protected Calendar(IntPtr ptr, bool ownedRef)
Parameters
Fields
DayPropertyDefinition
public static readonly Property<int, Calendar> DayPropertyDefinition
Field Value
DaySelectedSignal
Signal Descriptor for OnDaySelected.
public static readonly Signal<Calendar> DaySelectedSignal
Field Value
MonthPropertyDefinition
public static readonly Property<int, Calendar> MonthPropertyDefinition
Field Value
NextMonthSignal
Signal Descriptor for OnNextMonth.
public static readonly Signal<Calendar> NextMonthSignal
Field Value
NextYearSignal
Signal Descriptor for OnNextYear.
public static readonly Signal<Calendar> NextYearSignal
Field Value
PrevMonthSignal
Signal Descriptor for OnPrevMonth.
public static readonly Signal<Calendar> PrevMonthSignal
Field Value
PrevYearSignal
Signal Descriptor for OnPrevYear.
public static readonly Signal<Calendar> PrevYearSignal
Field Value
ShowDayNamesPropertyDefinition
public static readonly Property<bool, Calendar> ShowDayNamesPropertyDefinition
Field Value
ShowHeadingPropertyDefinition
public static readonly Property<bool, Calendar> ShowHeadingPropertyDefinition
Field Value
ShowWeekNumbersPropertyDefinition
public static readonly Property<bool, Calendar> ShowWeekNumbersPropertyDefinition
Field Value
YearPropertyDefinition
public static readonly Property<int, Calendar> YearPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Day
public int Day { get; set; }
Property Value
Month
public int Month { get; set; }
Property Value
ShowDayNames
public bool ShowDayNames { get; set; }
Property Value
ShowHeading
public bool ShowHeading { get; set; }
Property Value
ShowWeekNumbers
public bool ShowWeekNumbers { get; set; }
Property Value
Year
public int Year { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
ClearMarks()
public void ClearMarks()
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetDate()
public DateTime GetDate()
Returns
GetDay()
[Version("4.14")]
public int GetDay()
Returns
GetDayIsMarked(uint)
public bool GetDayIsMarked(uint day)
Parameters
day
uint
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetMonth()
[Version("4.14")]
public int GetMonth()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetShowDayNames()
public bool GetShowDayNames()
Returns
GetShowHeading()
public bool GetShowHeading()
Returns
GetShowWeekNumbers()
public bool GetShowWeekNumbers()
Returns
GetYear()
[Version("4.14")]
public int GetYear()
Returns
MarkDay(uint)
public void MarkDay(uint day)
Parameters
day
uint
New()
public static Calendar New()
Returns
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SelectDay(DateTime)
public void SelectDay(DateTime date)
Parameters
date
DateTime
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetDay(int)
[Version("4.14")]
public void SetDay(int day)
Parameters
day
int
SetMonth(int)
[Version("4.14")]
public void SetMonth(int month)
Parameters
month
int
SetShowDayNames(bool)
public void SetShowDayNames(bool value)
Parameters
value
bool
SetShowHeading(bool)
public void SetShowHeading(bool value)
Parameters
value
bool
SetShowWeekNumbers(bool)
public void SetShowWeekNumbers(bool value)
Parameters
value
bool
SetYear(int)
[Version("4.14")]
public void SetYear(int year)
Parameters
year
int
UnmarkDay(uint)
public void UnmarkDay(uint day)
Parameters
day
uint
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnDaySelected
public event SignalHandler<Calendar> OnDaySelected
Event Type
OnNextMonth
public event SignalHandler<Calendar> OnNextMonth
Event Type
OnNextYear
public event SignalHandler<Calendar> OnNextYear
Event Type
OnPrevMonth
public event SignalHandler<Calendar> OnPrevMonth
Event Type
OnPrevYear
public event SignalHandler<Calendar> OnPrevYear