Phoenix Logo

phoenix_title wx.adv.CalendarEvent

The wx.adv.CalendarEvent class is used together with wx.adv.CalendarCtrl.


class_hierarchy Class Hierarchy

Inheritance diagram for class CalendarEvent:

method_summary Methods Summary

__init__  
GetWeekDay Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler.
SetWeekDay Sets the week day carried by the event, normally only used by the library internally.

property_summary Properties Summary

WeekDay See GetWeekDay and SetWeekDay

api Class API



class wx.adv.CalendarEvent(DateEvent)

Possible constructors:

CalendarEvent()

CalendarEvent(win, dt, type)

The CalendarEvent class is used together with CalendarCtrl.


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, win, dt, type)

Parameters:





GetWeekDay(self)

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 type: wx.DateTime.WeekDay


SetWeekDay(self, day)

Sets the week day carried by the event, normally only used by the library internally.

Parameters:day (DateTime.WeekDay) –

Properties



WeekDay

See GetWeekDay and SetWeekDay