How to clean subviews
properly?
#5568
Unanswered
definability
asked this question in
Q&A
Replies: 1 comment 5 replies
-
The entire Lua GUI widget system is implemented in pure Lua and thus ordinary Lua garbage collection will clean any such objects up when they're no longer globally reachable within any active Lua state. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The View class supports
subviews
.The method
addviews
should be used to register new views properly.How to dynamically remove them? Is it safe to perform
view.subviews = {}
or is DFHack Lua API missing this part?Beta Was this translation helpful? Give feedback.
All reactions