Source: addons/calendar_time/ui/display/calendar_display.gd
Syntax
class CalendarDisplay extends ContainerMembers
| Name | Kind | Summary |
|---|---|---|
ClockValidator | Field | Displays the individual days in a month. |
displayed_year_changed | Signal | Emitted when the calendar view changes to a different year. |
clock | Property | Clock driving the display. Reassigning after [method _ready] disconnects the old clock, connects the new one, and refreshes the date and year. |
year_spin_box | Property | Spin box the player uses to change the displayed year. |
tab_container | Property | Container that holds the per-month table tabs. |
month_table_template | Property | Scene instantiated to render each month's day grid. |
prev_month_button | Property | Optional header controls wired by the bundled template; consumers may wire their own actions instead. |
next_month_button | Property | |
current_month_button | Property | |
close_button | Property | |
context_label | Property | |
live_date_label | Property | Optional label showing the bound clock's live date. |
toggle_action | Property | Input action that toggles visibility (set in ProjectSettings -> InputMap). |
auto_switch_to_current_date | Property | Automatically switch to the current month and year on date change. |
shown_year | Property | Year currently shown. Changing it refreshes the UI for the new year. |
refresh | Method | |
clear | Method | |
setup_tabs | Method | |
toggle_display | Method | |
go_to_current_month | Method | |
go_to_previous_month | Method | |
go_to_next_month | Method |