[GH-ISSUE #244] [Clock/Calendar] Always show current date #7131

Closed
opened 2026-05-23 02:52:39 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @donovanglover on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/244

Is your feature request related to a problem? Please describe.
It would be nice if there was a way to always highlight the current date. Currently if you click another date the current date doesn't have any sort of indicator.

Describe the solution you'd like
Ability to style dates with CSS. Might already be possible? https://docs.gtk.org/gtk4/class.Calendar.html#css-nodes

Describe alternatives you've considered
Could make clicking on the header select the current year/month/day. Would be useful when looking at dates from a few months before.

Could also select the current date again when the calendar popup is opened/closed instead of persisting state.

Originally created by @donovanglover on GitHub (Jul 18, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/244 **Is your feature request related to a problem? Please describe.** It would be nice if there was a way to always highlight the current date. Currently if you click another date the current date doesn't have any sort of indicator. **Describe the solution you'd like** Ability to style dates with CSS. Might already be possible? https://docs.gtk.org/gtk4/class.Calendar.html#css-nodes **Describe alternatives you've considered** Could make clicking on the header select the current year/month/day. Would be useful when looking at dates from a few months before. Could also select the current date again when the calendar popup is opened/closed instead of persisting state.
Author
Owner

@A-Cloud-Ninja commented on GitHub (Jul 24, 2023):

This and other similar issues (#245 comes to mind) are probably better suited for after #112 is resolved unfortunately. It doesn't seem that Gtk3 exposes CSS nodes for calendar dates like Gtk4 does, which is what your link is referencing. Doing this in a custom manner would probably be a lot of work for more than just styling "today", which Gtk4 exposes out of the box on the widget, without code doing anything special with it.

<!-- gh-comment-id:1648528517 --> @A-Cloud-Ninja commented on GitHub (Jul 24, 2023): This and other similar issues (#245 comes to mind) are probably better suited for *after* #112 is resolved unfortunately. It doesn't seem that Gtk3 exposes CSS nodes for calendar dates like Gtk4 does, which is what your link is referencing. Doing this in a custom manner would probably be a lot of work for more than just styling "today", which Gtk4 exposes out of the box on the widget, without code doing anything special with it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#7131
No description provided.