Home | Trees | Index | Help |
|
---|
|
object
--+ |Object
--+ |Sizer
--+ | BoxSizer
CExoLocStringControl
,
HAKListControl
,
SoundControl
,
VarControl
,
VarListControl
Method Summary | |
---|---|
__init__(self, int orient=HORIZONTAL) -> BoxSizer | |
__repr__(self)
| |
int |
Returns the current orientation of the sizer. |
SetOrientation(self, int orient) | |
Inherited from Sizer | |
_SetItemMinSize(self, PyObject item, Size size) | |
_setOORInfo(self, PyObject _self) | |
Add(self, item, int proportion=0, int flag=0, int border=0, PyObject userData=None) -> wx.SizerItem Appends a child item to the sizer. | |
AddItem(self, SizerItem item) | |
AddMany is a convenience method for adding several items to a sizer at one time. | |
Compatibility alias for `Add`. | |
Compatibility alias for `Add`. | |
Compatibility alias for `Add`. | |
Size |
This method is where the sizer will do the actual calculation of its children's minimal sizes. |
Clear(self, bool deleteWindows=False) | |
Destroy all windows managed by the sizer. | |
bool |
Detaches an item from the sizer without destroying it. |
Fit(self, Window window) -> Size | |
FitInside(self, Window window) | |
list |
Returns a list of all the `wx.SizerItem` objects managed by the sizer. |
wx.SizerItem |
Returns the `wx.SizerItem` which holds the *item* given. |
Size |
Returns the minimal size of the sizer. |
| |
Point |
Returns the current position of the sizer's managed space. |
| |
Size |
Returns the current size of the space managed by the sizer. |
| |
A convenience method for `Show` (item, False, recursive). | |
Insert(self, int before, item, int proportion=0, int flag=0, int border=0, PyObject userData=None) -> wx.SizerItem Inserts a new item into the list of items managed by this sizer before the item at index *before*. | |
InsertItem(self, int index, SizerItem item) | |
Compatibility alias for `Insert`. | |
Compatibility alias for `Insert`. | |
Compatibility alias for `Insert`. | |
Determines if the item is currently shown. | |
This method will force the recalculation and layout of the items controlled by the sizer using the current space allocated to the sizer. | |
Prepend(self, item, int proportion=0, int flag=0, int border=0, PyObject userData=None) -> wx.SizerItem Adds a new item to the begining of the list of sizer items managed by this sizer. | |
PrependItem(self, SizerItem item) | |
Compatibility alias for `Prepend`. | |
Compatibility alias for `Prepend`. | |
Compatibility alias for `Prepend`. | |
Using the sizes calculated by `CalcMin` reposition and resize all the items managed by this sizer. | |
bool |
Removes an item from the sizer and destroys it. |
Compatibility alias for `Remove`. | |
Compatibility alias for `Remove`. | |
Compatibility alias for `Remove`. | |
SetDimension(self, int x, int y, int width, int height) | |
SetItemMinSize(self, item, Size size) | |
SetMinSize(self, Size size) | |
SetSizeHints(self, Window window) | |
SetVirtualSizeHints(self, Window window) | |
Show(self, item, bool show=True, bool recursive=false) -> bool | |
ShowItems(self, bool show) | |
Inherited from Object | |
Deletes the C++ object this Python object is a proxy for. | |
String |
Returns the class name of the C++ class using wxRTTI. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Method Details |
---|
__init__(self,
*args,
**kwargs)
|
__repr__(self)
|
GetOrientation(self)Returns the current orientation of the sizer.
|
SetOrientation(*args, **kwargs)SetOrientation(self, int orient) Resets the orientation of the sizer. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Apr 1 12:40:10 2006 | http://epydoc.sf.net |