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

[EditorEvent] Add events for when a window opens #7208

Open
badandbest opened this issue Dec 19, 2024 · 0 comments
Open

[EditorEvent] Add events for when a window opens #7208

badandbest opened this issue Dec 19, 2024 · 0 comments

Comments

@badandbest
Copy link

badandbest commented Dec 19, 2024

What can't you do?

We have an editor event for when the preferences window is opened but that's about it.
Image

I think it would be useful. For example you'd be able to add your own pages to the project settings.

How would you like it to work?

I don't know if there should be a different event for every main widget? ( i.e editor.settings, editor.inspector, editor.hierarchy, editor.console ).

If not that, then maybe qt.open or window.open. It would still be nice to narrow the search to a specific window.

The event should pass the window as an argument.

What have you tried?

I couldn't think of a good way to detect when a window opens. If there is please let me know.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant