We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › Unregistering methods with PApplet
Page Index Toggle Pages: 1
Unregistering methods with PApplet? (Read 675 times)
Unregistering methods with PApplet?
Jul 13th, 2007, 9:13am
 
I was wondering, is there a workaround to unregister a function that you've registered with registerPre/Post/etc?  I don't see a function to do it, so maybe it's not available.  Is there a reason this would be a bad idea, or is it something that just hasn't found a compelling reason to be added yet?
Re: Unregistering methods with PApplet?
Reply #1 - Jul 13th, 2007, 9:24am
 
there's a request in the bugs-db already:
http://dev.processing.org/bugs/show_bug.cgi?id=312

F
Re: Unregistering methods with PApplet?
Reply #2 - Jul 13th, 2007, 7:02pm
 
Ah, so there is, I should have checked there first.

I would find this pretty useful (long story, short version is that I need it for a library I'm working on to clean up after itself properly), so unless someone either a) has already coded this and just hasn't submitted it, or b) thinks this would be a bad addition to the public interface, I'm probably going to take a swing at it.  I'll post a note in the bugs db as well.
Page Index Toggle Pages: 1