CalendarDisplayOptions
public struct CalendarDisplayOptions : OptionSet
These options can be used to influence the display and behaviour of a GtkCalendar.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GtkCalendarDisplayOptionsenum valueDeclaration
Swift
@inlinable public var value: GtkCalendarDisplayOptions { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
GtkCalendarDisplayOptionsenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkCalendarDisplayOptions) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
Specifies that the month and year should be displayed.
Declaration
Swift
public static let showHeading: CalendarDisplayOptions -
Specifies that three letter day descriptions should be present.
Declaration
Swift
public static let showDayNames: CalendarDisplayOptions -
Prevents the user from switching months with the calendar.
Declaration
Swift
public static let noMonthChange: CalendarDisplayOptions -
Displays each week numbers of the current year, down the left side of the calendar.
Declaration
Swift
public static let showWeekNumbers: CalendarDisplayOptions -
Just show an indicator, not the full details text when details are provided. See
gtk_calendar_set_detail_func().Declaration
Swift
public static let showDetails: CalendarDisplayOptions
View on GitHub
Install in Dash
CalendarDisplayOptions Structure Reference