Skip to content

Introduce stateful tray updates #179

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

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

kdroidFilter
Copy link
Owner

@kdroidFilter kdroidFilter commented Jun 9, 2025

Summary

  • add a new TrayState class with update APIs
  • implement native update methods for all platforms
  • expose rememberTrayState and refactor Tray to use it
  • document stateful updates and reactive menu changes

Introduced dedicated methods in the tray library for updating the tooltip, icon, and menu independently, improving code readability and efficiency. Replaced `ExtractIconExA` with `LoadImageA` for better control over icon loading and fallback support. Updated Kotlin bindings and `tray.dll` to integrate the new functionality seamlessly.
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.

1 participant