I don't think there's anything keeping the ini_filename string alive?
Perhaps ImGuiIO needs some kind of a wrapper class too? I guess it would be possible to inherit a WrappedIO from slimgui.IO and override the property access?
See 349808993459f0cb789c516633e915a75a09f8fc for reference.
Defining a similar wrapper around slimgui_ext.IO would work but how to pass most of the property accesses down to the base class without breaking typing?
This pattern probably isn't correct:
I don't think there's anything keeping the ini_filename string alive?
Perhaps ImGuiIO needs some kind of a wrapper class too? I guess it would be possible to inherit a
WrappedIO
fromslimgui.IO
and override the property access?