Module component :: Class Sizer
[hide private]
[frames] | no frames]

Class Sizer

source code

object --+            
         |            
 Component --+        
             |        
     Container --+    
                 |    
    SmartContainer --+
                     |
                    Sizer

Sizers are not windows and have common implicit node.

Instance Methods [hide private]
 
__init__(self, klass, groups, attributes, **kargs) source code
 
isSizer(self)
If this container manages children positions and sizes.
source code
 
requireImplicit(self, node) source code
 
getChildObject(self, node, obj, index)
Get index'th child of a tested interface element.
source code
 
getRect(self, obj)
Return bounding box coordinates for obj.
source code

Inherited from SmartContainer: appendChild, getTreeNode, getTreeOrImplicitNode, insertAfter, insertBefore, removeChild, replaceChild, setImplicitParamClass

Inherited from Container: canHaveChild, copyObjects

Inherited from Component: __cmp__, __repr__, addAttribute, addEvents, addExStyles, addStyles, canBeReplaced, copyAttributes, getAttribute, getTreeImageId, getTreeText, isContainer, makeTestWin, setParamClass, setSpecial

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

Class Variables [hide private]
  windowAttributes = []
Default window attributes for window-like components.
  hasName = False
True if component has an XRC ID attribute.
  genericStyles = []
Default generic styles.
  genericExStyles = []
Default generic extended styles.
  renameDict = {'orient': 'orientation'}
Dictionary of old_name:new_name for renaming some attributes in the Attribute Panel.
  implicitRenameDict = {'option': 'proportion'}

Inherited from Component: genericEvents, isTopLevel

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, klass, groups, attributes, **kargs)
(Constructor)

source code 
Overrides: SmartContainer.__init__

isSizer(self)

source code 
If this container manages children positions and sizes.
Overrides: Container.isSizer
(inherited documentation)

requireImplicit(self, node)

source code 
Overrides: SmartContainer.requireImplicit

getChildObject(self, node, obj, index)

source code 
Get index'th child of a tested interface element.
Overrides: Container.getChildObject
(inherited documentation)

getRect(self, obj)

source code 
Return bounding box coordinates for obj.
Overrides: Component.getRect
(inherited documentation)