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

eframe: Set app icon on Mac and Windows #2940

Merged
master from
Apr 20, 2023

Conversation

emilk
Copy link
Owner

@emilk Apr 20, 2023

NativeOptions::icon_data is now fully used on Mac and Windows to set the icon on alt-tab and in the doc/taskbar.

Also: correctly set window title on Mac when launching an eframe app from another process, e.g. python.

Most of the code is by @Wumpf, copied from https://github.com/rerun-io/rerun/blob/0a1d68681c72c9b9e49e5fb1b091425ad96fca32/crates/re_viewer/src/app_icon.rs

Ideally this should be ported to winit at some point

eframe Relates to epi and eframe label Apr 20, 2023
Also: correctly set window title on Mac when launching from
another process, e.g. python.

Co-authored-by: Wumpf <[email protected]>
force-pushed the emilk/set-app-icon branch from 9307e38 to e2ebb3c Compare April 20, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eframe Relates to epi and eframe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant