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

Class Window

source code

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

A VBox with a draggable title bar aka a window

New Attributes

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, title=None, titlebar_height=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_getTitle(self) source code
 
_setTitle(self, text) source code
 
_getTitleBarHeight(self) source code
 
_setTitleBarHeight(self, h) source code
 
_setHeight(self, h) source code
 
_getHeight(self) 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]
  ATTRIBUTES = Container.ATTRIBUTES+ [UnicodeAttr('title'), IntA...
  DEFAULT_TITLE = u"title"
  DEFAULT_TITLE_HEIGHT = 0
  DEFAULT_POSITION_TECHNIQUE = "automatic"
  title = property(_getTitle, _setTitle)
  titlebar_height = property(_getTitleBarHeight, _setTitleBarHei...
  height = property(_getHeight, _setHeight)

Inherited from Container: 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_HEXPAND, DEFAULT_MAX_SIZE, DEFAULT_MIN_SIZE, DEFAULT_NAME, DEFAULT_POSITION, DEFAULT_SIZE, DEFAULT_VEXPAND, HIDE_SHOW_ERROR, background_color, base_color, border_size, font, foreground_color, 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, title=None, titlebar_height=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

_setHeight(self, h)

source code 
Overrides: widget.Widget._setHeight

_getHeight(self)

source code 
Overrides: widget.Widget._getHeight

Class Variable Details [hide private]

ATTRIBUTES

Value:
Container.ATTRIBUTES+ [UnicodeAttr('title'), IntAttr('titlebar_height'\
)]

titlebar_height

Value:
property(_getTitleBarHeight, _setTitleBarHeight)