Possible to trigger a VCV event in code?

Well I ended up discovering how to update the expander information myself before calling onExpanderChange, and it works!

See VCV API module deletion / onExpanderChange() bug and work around for more info.