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

Automatically call an initialization function on GML-constructed widgets #21401

Closed
kleinesfilmroellchen opened this issue Oct 10, 2023 · 2 comments · Fixed by #22860
Closed
Labels
enhancement New feature or request

Comments

@kleinesfilmroellchen
Copy link
Collaborator

Looks like we have a multitude of established ways to run additional initialization functions after the GML part has been initialized. Maybe we should look at hooking this into the GML compiler in the future (most likely thinking up one "true" interface and placing if constexpr (requires { MyCoolWidget::cool_initialization_function() }) in the generated code).

Originally posted by @timschumi in #20524 (comment)

If someone wants to do this before me, feel free.

@kleinesfilmroellchen kleinesfilmroellchen added enhancement New feature or request good first issue Good for newcomers labels Oct 10, 2023
@bhanuprakasheagala
Copy link

Hi @kleinesfilmroellchen , Please let me know if I can take this up.

@kleinesfilmroellchen
Copy link
Collaborator Author

We do not assign issues; just do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants