SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
Functions
dialog.decorators Namespace Reference

Functions

def deprecated
def Forward
def forward_property

Function Documentation

def dialog.decorators.deprecated (   args)
 deprecated(args)
def dialog.decorators.Forward (   args)
 class level function forwarding
def dialog.decorators.forward_property (   args)
 class level property forwarding.
 @param to expression to forward to
 @param thename name of the property to forward from
 @example 
 class A:
     def _get_( self ):
         return 1
     prop = property( _get_ )
 class B:
     def __init__( self, a ):
         self.a = a #should be a class A class
     prop = forward_property( 'self.a', 'prop' )