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

[feat] Add Window::title getter #546

Closed
tauri-bot opened this issue Aug 31, 2022 · 0 comments · Fixed by #562 · May be fixed by grant0417/tao#1
Closed

[feat] Add Window::title getter #546

tauri-bot opened this issue Aug 31, 2022 · 0 comments · Fixed by #562 · May be fixed by grant0417/tao#1

Comments

@tauri-bot
Copy link

This issue has been upstreamed from tauri-apps/tauri#5023

Describe the problem

It's tricky when making custom title bars for a window—or trying to update the window title with something based on the current title—to actually pin down in code what the current title is.

Describe the solution you'd like

On the appWindow level, we have the ability to call appWindow.setTitle("..."). It would be good if we could get a reference to the current title here as well. A property of appWindow.title would probably be best, but exposing it through appWindow.getTitle() would also work fine.

Alternatives considered

No response

Additional context

No response

@amrbashir amrbashir changed the title [feat] Make Window Title Available in appWindow Instance [feat] Add Window::title getter Sep 10, 2022
amrbashir added a commit that referenced this issue Oct 3, 2022
This was referenced Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant