# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # # CAL_SUNDAY_FIRST = 128 # # CAL_MONDAY_FIRST = 1 # # CAL_SHOW_HOLIDAYS = 2 # # CAL_NO_YEAR_CHANGE = 4 # # CAL_NO_MONTH_CHANGE = 12 # # CAL_SEQUENTIAL_MONTH_SELECTION = 16 # # CAL_SHOW_SURROUNDING_WEEKS = 32 # # CAL_SHOW_WEEK_NUMBERS = 64 # Possible kinds of borders which may be used to decorate a date using {Wx::CalendarDateAttr}. # # # # @wxrb_require USE_CALENDARCTRL class CalendarDateBorder < Wx::Enum # No Border (Default) # CAL_BORDER_NONE = Wx::CalendarDateBorder.new(0) # Rectangular Border. # CAL_BORDER_SQUARE = Wx::CalendarDateBorder.new(1) # Round Border. # CAL_BORDER_ROUND = Wx::CalendarDateBorder.new(2) end # CalendarDateBorder # Possible return values from {Wx::CalendarCtrl#hit_test}. # # # # @wxrb_require USE_CALENDARCTRL class CalendarHitTestResult < Wx::Enum # Hit outside of anything. # CAL_HITTEST_NOWHERE = Wx::CalendarHitTestResult.new(0) # Hit on the header (weekdays). # CAL_HITTEST_HEADER = Wx::CalendarHitTestResult.new(1) # Hit on a day in the calendar. # CAL_HITTEST_DAY = Wx::CalendarHitTestResult.new(2) # Hit on next month arrow (in alternate month selector mode). # CAL_HITTEST_INCMONTH = Wx::CalendarHitTestResult.new(3) # Hit on previous month arrow (in alternate month selector mode). # CAL_HITTEST_DECMONTH = Wx::CalendarHitTestResult.new(4) # Hit on surrounding week of previous/next month (if shown). # CAL_HITTEST_SURROUNDING_WEEK = Wx::CalendarHitTestResult.new(5) # Hit on week of the year number (if shown). # CAL_HITTEST_WEEK = Wx::CalendarHitTestResult.new(6) end # CalendarHitTestResult # # EVT_CALENDAR_SEL_CHANGED = 10078 # # EVT_CALENDAR_PAGE_CHANGED = 10079 # # EVT_CALENDAR_DOUBLECLICKED = 10080 # # EVT_CALENDAR_WEEKDAY_CLICKED = 10081 # # EVT_CALENDAR_WEEK_CLICKED = 10082 # The {Wx::CalendarEvent} class is used together with {Wx::CalendarCtrl}. # # Category: {Wx::Events} # @see Wx::CalendarCtrl # # # @wxrb_require USE_CALENDARCTRL class CalendarEvent < DateEvent # @overload initialize() # @return [Wx::CalendarEvent] # @overload initialize(win, dt, type) # @param win [Wx::Window] # @param dt [Time,Date,DateTime] # @param type [Wx::Notebook::EventType] # @return [Wx::CalendarEvent] def initialize(*args) end # Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler. # # It doesn't make sense to call this function in other handlers. # @return [Integer] def get_week_day; end alias_method :week_day, :get_week_day end # CalendarEvent end