Selects an event for use only with other
CalendarContext functions. The selection state set by this function is used only by other
CalendarContext functions; other calendar event functions use the selection state set by
CalendarNewGuildAnnouncement (if they use a selection state at all).
Used in the default UI to implement the calendar's context menu (on right-click).
See also Calendar functions.
monthOffset- Month containing an event relative to the calendar's currently displayed month (
-1- Month preceding the calendar's current month
0- The calendar's current month (i.e. same month as CalendarGetMonth())
1- Month after the calendar's current month
nil- Use the event selected by
CalendarContextSelectEventand ignore further arguments
day- Day of the month containing an event (
index- Index of an event on the given day (from 1 to CalendarGetNumDayEvents()) (