Roland Posted August 16, 2021 Posted August 16, 2021 All Create functions in the GUI part are returning Widget's as shared pointers. Does this mean that the AppKit also owns the returned Widget internally and destroys them internally att program exit? Quote Roland Strålberg Website: https://rstralberg.com
Josh Posted August 17, 2021 Posted August 17, 2021 A widget is held onto by its parent widget. To free a widget, call SetParent(NULL) and make sure there is no variable holding onto the widget. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.