Skip to content

Commit

Permalink
Fix Calendar.showWeekNumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
can-lehmann committed Oct 8, 2023
1 parent 9a8bbd9 commit 8e915e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owlkettle/widgets.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3068,7 +3068,7 @@ renderable Calendar of BaseWidget:

hooks showWeekNumbers:
property:
gtk_calendar_set_show_day_names(state.internalWidget, cbool(ord(state.showWeekNumbers)))
gtk_calendar_set_show_week_numbers(state.internalWidget, cbool(ord(state.showWeekNumbers)))

example:
Calendar:
Expand Down

0 comments on commit 8e915e3

Please sign in to comment.