You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
No single method to release the focus of all children and subchildren of a Control node
Describe the feature / enhancement and how it helps to overcome the problem or limitation
A simple method that goes through the children of the Control node and releases their focus. Could be called release_children_focus, unfocus_all_children, etc. I don't think it should unfocus itself as well, but that could be a parameter for the method (something like release_children_focus ( release_self : bool )
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The method could call release_focus on all of the children nodes of the Control node that called the method
If this enhancement will not be used often, can it be worked around with a few lines of script?
propagante_call("release_focus") works, but for beginners it would be more intuitive to have a function for it
Is there a reason why this should be core and not an add-on in the asset library?
Control node is core
The text was updated successfully, but these errors were encountered:
InkONat
changed the title
Add unfocus_all_children to Control
Add release_children_focus to Control
Feb 7, 2025
Describe the project you are working on
Level editor, uses a lot of Control nodes
Describe the problem or limitation you are having in your project
No single method to release the focus of all children and subchildren of a Control node
Describe the feature / enhancement and how it helps to overcome the problem or limitation
A simple method that goes through the children of the Control node and releases their focus. Could be called
release_children_focus
,unfocus_all_children
, etc. I don't think it should unfocus itself as well, but that could be a parameter for the method (something likerelease_children_focus ( release_self : bool )
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The method could call
release_focus
on all of the children nodes of the Control node that called the methodIf this enhancement will not be used often, can it be worked around with a few lines of script?
propagante_call("release_focus")
works, but for beginners it would be more intuitive to have a function for itIs there a reason why this should be core and not an add-on in the asset library?
Control node is core
The text was updated successfully, but these errors were encountered: