A composite control containing a wx.RearrangeList and the buttons allowing to move the items in it.
This control is in fact a panel containing the wx.RearrangeList control and the “Up” and “Down” buttons to move the currently selected item up or down. It is used as the main part of a wx.RearrangeDialog.
Added in version 2.9.0.
Default constructor. |
|
Effectively creates the window for an object created using the default constructor. |
|
Return the listbox which is the main part of this control. |
See |
Possible constructors:
RearrangeCtrl() -> None
RearrangeCtrl(parent : Window, id: int=ID_ANY, pos:
Point=DefaultPosition, size: Size=DefaultSize, order: List[int]=[],
items: List[str]=[], style: int=0, validator:
Validator=DefaultValidator, name: str=RearrangeListNameStr) -> None
A composite control containing a RearrangeList and the buttons allowing to move the items in it.
__init__ (self)
Default constructor.
Create
must be called later to effectively create the control.
None
__init__ (self, parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, order: List[int]=[], items: List[str]=[], style: int=0, validator: Validator=DefaultValidator, name: str=RearrangeListNameStr)
Constructor really creating the control.
Please see Create
for the parameters description.
parent (wx.Window)
id (wx.WindowID)
pos (wx.Point)
size (wx.Size)
order (list of integers)
items (list of strings)
style (long)
validator (wx.Validator)
name (string)
None
Effectively creates the window for an object created using the default constructor.
The parameters of this method are the same as for wx.RearrangeList.Create
.
parent (wx.Window)
id (wx.WindowID)
pos (wx.Point)
size (wx.Size)
order (list of integers)
items (list of strings)
style (long)
validator (wx.Validator)
name (string)
bool
variant (WindowVariant)
Return the listbox which is the main part of this control.