Closed dirkleas closed 6 years ago
resizeable modules in core are consistently storing a width property in the patch json as expected, and current patch is available from settings.json via lastPath or within rack at runtime via gRackWidget->lastPath
fyi, latest fork adds width data to generated .../Rack/meta.json via File.Catalog, and also saves width when saving patches, stability improving -- beta quality stability. woot!
confirmed here that widgets can't be instantiated outside Rack main thread (e.g. not in plugin modules) and that a PR wasn't probable, so sticking with 1) my fork (preferred), or 2) DLwigglz r4xH4x + rackcli --sync/--share
I've prototyped some code in a rack fork that generates much of the introspective data for rack plugins/modules. there're several modules that are dynamically resizeable once added to a patch. I'm looking for details on how to get that detail both 1) from the plugin distributions (ideally without having to instantiate ModuleWidget instances), and 2) from a loaded patch. is there something similar to gPlugins for the live patch modules? code and/or references appreciated
ps: for extra credit, how about the width of the patching window so I can do layout management in view?!