Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Clock/Calendar] Always show current date #244

Open
donovanglover opened this issue Jul 18, 2023 · 1 comment
Open

[Clock/Calendar] Always show current date #244

donovanglover opened this issue Jul 18, 2023 · 1 comment
Labels
blocked This issue is pending another issue or other development being completed. enhancement New feature or request

Comments

@donovanglover
Copy link
Contributor

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.

@donovanglover donovanglover added the enhancement New feature or request label Jul 18, 2023
@A-Cloud-Ninja
Copy link
Contributor

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.

@JakeStanger JakeStanger added the blocked This issue is pending another issue or other development being completed. label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue is pending another issue or other development being completed. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants