Version: 9.15.0
gui.CONNECTOR.BoundMethodWeakref Class Reference
Inheritance diagram for gui.CONNECTOR.BoundMethodWeakref:
Collaboration diagram for gui.CONNECTOR.BoundMethodWeakref:

Public Member Functions

def __init__ (self, callable)
 
def __call__ (self)
 

Public Attributes

 Self
 
 Func
 

Detailed Description

Definition at line 126 of file CONNECTOR.py.

Constructor & Destructor Documentation

◆ __init__()

def gui.CONNECTOR.BoundMethodWeakref.__init__ (   self,
  callable 
)

Definition at line 127 of file CONNECTOR.py.

127  def __init__(self,callable):
128  self.Self=weakref.ref(callable.__self__)
129  self.Func=weakref.ref(callable.__func__)
130 

Member Function Documentation

◆ __call__()

def gui.CONNECTOR.BoundMethodWeakref.__call__ (   self)

Definition at line 131 of file CONNECTOR.py.

131  def __call__(self):
132  target=self.Self()
133  if not target:return None
134  func=self.Func()
135  if func:
136  return func.__get__(self.Self())
137 

References gui.CONNECTOR.BoundMethodWeakref.Func, and gui.CONNECTOR.BoundMethodWeakref.Self.

Member Data Documentation

◆ Func

gui.CONNECTOR.BoundMethodWeakref.Func

Definition at line 129 of file CONNECTOR.py.

Referenced by gui.CONNECTOR.BoundMethodWeakref.__call__().

◆ Self

gui.CONNECTOR.BoundMethodWeakref.Self

Definition at line 128 of file CONNECTOR.py.

Referenced by gui.CONNECTOR.BoundMethodWeakref.__call__().


The documentation for this class was generated from the following file: