Skip to content

Add color_scheme property to window class.#124

Merged
cmeyer merged 1 commit intonion-software:masterfrom
cmeyer:get-color-scheme-property
Dec 8, 2025
Merged

Add color_scheme property to window class.#124
cmeyer merged 1 commit intonion-software:masterfrom
cmeyer:get-color-scheme-property

Conversation

@cmeyer
Copy link
Collaborator

@cmeyer cmeyer commented Dec 7, 2025

This PR adds functions for getting the color scheme (light/dark) for a window. The machinery for receiving changes was already implemented, but there was no way to know what the initial color scheme was.

Relates to nion-software/nionswift#540.

Please review if interested, otherwise I'll merge after a few days.

@cmeyer cmeyer marked this pull request as ready for review December 7, 2025 19:16
@cmeyer cmeyer requested review from Tiomat85 and lisham2000 December 7, 2025 19:16
Copy link
Contributor

@Tiomat85 Tiomat85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@cmeyer cmeyer merged commit 48df6e5 into nion-software:master Dec 8, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants