What is the best way to undefine an function handler, defined with
framework->define_key("event_name", "description", &function, (void*)data);
Thanks for help.
What is the best way to undefine an function handler, defined with
framework->define_key("event_name", "description", &function, (void*)data);
Thanks for help.
There is currently no way to do so. However, if you look at the pandaFramework.cxx/.h source code, you’ll see that define_key is just a thin wrapper function for EventHandler. You may use these lower level functions instead.
Thanks for help.