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

Add Frame::set_window_title() #828

Merged
merged 2 commits into from
Oct 22, 2021
Merged

Add Frame::set_window_title() #828

merged 2 commits into from
Oct 22, 2021

Conversation

NiceneNerd
Copy link
Contributor

Adds the method Frame::set_window_title() so outer window titles can be changed dynamically. By consequence Copy has been removed from AppOutput, which is instead cloned in precisely two places.

Closes #827.

@NiceneNerd NiceneNerd marked this pull request as ready for review October 20, 2021 19:20
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Nice! Beside cargo fmt, this could also do with a line in eframe/CHANGELOG.md

@NiceneNerd
Copy link
Contributor Author

Ah, I was indeed uncertain which changelog would be the best to use. Both problems are now sorted.

@emilk emilk merged commit 79d1ede into emilk:master Oct 22, 2021
@JPGygax68
Copy link

What is the best place to call this from ? I haven't found a better hook than update(), is that ok ?

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.

Add method to set outer window title dynamically
3 participants