destroying mousecallback in python [closed]

asked 2016-10-03 17:45:49 -0600

bradfield gravatar image

In C++ it is necessary to explicitly destroy a mousecallback by passing in a null pointer. But is this automatically done in python? since there is nothing like a null pointer in python, the only thing I can think of is to give reference to a callback-function, which does do nothing.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-29 23:54:47.806890


did you try to set None ?

berak gravatar imageberak ( 2016-10-04 07:58:45 -0600 )edit

yes. no success. the damn thing must be callable

bradfield gravatar imagebradfield ( 2016-10-04 17:41:39 -0600 )edit