Package qubx :: Module notebook :: Class NbTarget
[hide private]
[frames] | no frames]

Class NbTarget

source code

object --+
         |
        NbTarget
Known Subclasses:

Base class for objects which receive notebook items. Multiple NbTargets can be registered by name with the NbController qubx.notebook.Notebook.
Targets need not inherit from this class, but must implement these properties and methods:

    supports: list of subclasses of NbItem which this target can handle, e.g. [NbText, NbDynText, NbTable]
    nb_init(): called when the target is (re-) activated
    nb_send(item): acts on the L{NbItem}

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
nb_init(self) source code
 
nb_send(self, item) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)