Package NetworkEditor :: Module ports :: Class SpecialInputPort
[hide private]
[frames] | no frames]

Class SpecialInputPort

source code

               object --+            
                        |            
itemBase.NetworkItemsBase --+        
                            |        
        itemBase.NetworkItems --+    
                                |    
                             Port --+
                                    |
                                   SpecialInputPort
Known Subclasses:
RunChildrenInputPort, RunNodeInputPort

Instance Methods [hide private]
  __init__(self, name, node, datatype='triggerIn', balloon=None, width=8, height=8)
  computePortPosX(self)
compute offset from left.

Inherited from Port: __repr__, browseData, buildIcons, clearDataView, compareToOrigPortDescr, configure, connectNodesEnd, createConnection, createIcon, datatypeStr, deleteIcon, destinationPortsCoords, destroyIcon, dismiss, drawRubberBand, edit, editorVisible, getCenterCoords, getColor, getDataStr, getDatatypeObjectFromDatatype, getDescr, openDataViewer, setCallback, setColor, setDataType, showData, startConnectRubberBand, typeName, updateDataView, updateIconPosition

Inherited from Port (private): _introspectCB

Inherited from itemBase.NetworkItems: afterAddingToNetwork, afterRemovingFromNetwork, beforeAddingToNetwork, beforeRemovingFromNetwork, deletePort, deselect, editNodeMenu, freeze, gettags, hideParamPanel, highlight, introspect, postItemMenu, rename, run, schedule_cb, select, toggleAutoRun_cb, toggleFrozen_cb, unfreeze, unhighlight

Inherited from itemBase.NetworkItemsBase: delEditor, getEditor, setEditor

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from itemBase.NetworkItemsBase: editor

Inherited from object: __class__


Method Details [hide private]

__init__(self, name, node, datatype='triggerIn', balloon=None, width=8, height=8)
(Constructor)

source code 
None
Overrides: Port.__init__

computePortPosX(self)

source code 
compute offset from left. Convention: if a port is invisible, we set this port's relposx to the values of the last visible port left of this port, or to 0 and 0, if all ports left of it are invisible Note: relposx is the center of a port icon, not the left or right edge
Overrides: Port.computePortPosX
(inherited documentation)