fsl.utils.weakfuncref¶
This module provides the WeakFunctionRef class.
-
class
fsl.utils.weakfuncref.WeakFunctionRef(func)¶ Bases:
objectClass which encapsulates a
weakrefto a function or method.This class is used by
Notifierinstances to reference listeners which have been registered to be notified of property value or attribute changes.-
function()¶ Return a reference to the encapsulated function or method, or
Noneif the function has been garbage collected.
-