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] Make Window Title Available in appWindow Instance #5023

Closed
samconran opened this issue Aug 24, 2022 · 5 comments
Closed

[feat] Make Window Title Available in appWindow Instance #5023

samconran opened this issue Aug 24, 2022 · 5 comments
Labels
status: backlog Issue is ready and we can work on it type: feature request

Comments

@samconran
Copy link

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
Copy link
Member

/upstream tauri-apps/tao

@tauri-apps tauri-apps bot added the status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes label Aug 31, 2022
@tauri-apps
Copy link

tauri-apps bot commented Oct 3, 2022

Upstream issue at tauri-apps/tao#546 has been closed.

@tauri-apps tauri-apps bot added status: backlog Issue is ready and we can work on it and removed status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes labels Oct 3, 2022
@elibroftw
Copy link

Is this in the latest version of tauri? I'm getting a Uncaught TypeError: appWindow.title is not a function

@elibroftw
Copy link

elibroftw commented Mar 13, 2023

The latest https://www.npmjs.com/package/@tauri-apps/api, is not 1.2.3 :(, it's been 3 months.

@FabianLars
Copy link
Member

1.3 is currently in internal audit so it hopefully shouldn't take much longer to get your hands on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backlog Issue is ready and we can work on it type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants