Package muntjac :: Package ui :: Module layout :: Class ISpacingHandler
[hide private]
[frames] | no frames]

Class ISpacingHandler

source code

object --+
         |
        ISpacingHandler

This type of layout supports automatic addition of space between its components.

Instance Methods [hide private]
 
setSpacing(self, enabled)
Enable spacing between child components within this layout.
source code
 
isSpacingEnabled(self)
Returns: true if spacing between child components within this layout is enabled, false otherwise
source code
 
isSpacing(self)
Returns: true if spacing between child components within this layout is enabled, false otherwise
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setSpacing(self, enabled)

source code 

Enable spacing between child components within this layout.

NOTE: This will only affect the space between components, not the space around all the components in the layout (i.e. do not confuse this with the cellspacing attribute of a HTML Table). Use setMargin to add space around the layout.

See the reference manual for more information about CSS rules for defining the amount of spacing to use.

Parameters:
  • enabled - true if spacing should be turned on, false if it should be turned off

isSpacingEnabled(self)

source code 
Returns:
true if spacing between child components within this layout is enabled, false otherwise

Deprecated: Use isSpacing instead.

isSpacing(self)

source code 
Returns:
true if spacing between child components within this layout is enabled, false otherwise