Package fife :: Package extensions :: Package pychan :: Package widgets' :: Module containers :: Class VBox
[hide private]
[frames] | no frames]

Class VBox

source code

        object --+        
                 |        
 layout.LayoutBase --+    
                     |    
layout.VBoxLayoutMixin --+
                         |
        object --+       |
                 |       |
     widget.Widget --+   |
                     |   |
             Container --+
                         |
                        VBox

A vertically aligned box - for containement of child widgets.

Widgets added to this container widget, will layout on top of each other. Also the minimal width of the container will be the maximum of the minimal widths of the contained widgets.

The default alignment is to the top. This can be changed by adding a Spacer to the widget at any point (but only one!). The spacer will expand, so that widgets above the spacer are aligned to the top, while widgets below the spacer are aligned to the bottom.

Instance Methods [hide private]
 
__init__(self, parent=None, name=None, size=None, min_size=None, max_size=None, helptext=None, position=None, style=None, hexpand=None, vexpand=None, font=None, base_color=None, background_color=None, foreground_color=None, selection_color=None, border_size=None, position_technique=None, is_focusable=None, comment=None, padding=None, background_image=None, opaque=None, margins=None, _real_widget=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from layout.VBoxLayoutMixin: expandContent, resizeToContent, ydelta

Inherited from layout.LayoutBase: addSpacer, xdelta

Inherited from Container: add, addChild, beforeShow, deepApply, getBackgroundImage, getMaxChildrenHeight, getMaxChildrenWidth, hideChild, insertChild, insertChildBefore, removeChild, setBackgroundImage, showChild

Inherited from Container (private): _getOpaque, _resetTiling, _setOpaque

Inherited from widget.Widget: __repr__, __str__, adaptLayout, addChildren, afterHide, capture, collectData, collectDataAsDict, distributeData, distributeInitialData, execute, findChild, findChildByName, findChildren, getAbsolutePos, getData, getNamedChildren, hide, isCaptured, isVisible, listNamedWidgets, mapEvents, match, removeAllChildren, removeChildren, requestFocus, setData, setInitialData, show, sizeChanged, stylize

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

Class Variables [hide private]
  DEFAULT_HEXPAND = 0
  DEFAULT_VEXPAND = 1

Inherited from Container: ATTRIBUTES, DEFAULT_BACKGROUND, DEFAULT_MARGINS, DEFAULT_OPAQUE, DEFAULT_PADDING, background_image, opaque

Inherited from widget.Widget: DEFAULT_BORDER_SIZE, DEFAULT_COMMENT, DEFAULT_FONT, DEFAULT_HELPTEXT, DEFAULT_MAX_SIZE, DEFAULT_MIN_SIZE, DEFAULT_NAME, DEFAULT_POSITION, DEFAULT_POSITION_TECHNIQUE, DEFAULT_SIZE, HIDE_SHOW_ERROR, background_color, base_color, border_size, font, foreground_color, height, is_focusable, max_height, max_width, min_height, min_width, name, parent, position, selection_color, size, style, width, x, y

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent=None, name=None, size=None, min_size=None, max_size=None, helptext=None, position=None, style=None, hexpand=None, vexpand=None, font=None, base_color=None, background_color=None, foreground_color=None, selection_color=None, border_size=None, position_technique=None, is_focusable=None, comment=None, padding=None, background_image=None, opaque=None, margins=None, _real_widget=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)