wx.RearrangeCtrl¶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.
New in version 2.9.0.
Methods Summary¶__init__ |
Default constructor. |
Create |
Effectively creates the window for an object created using the default constructor. |
GetList |
Return the listbox which is the main part of this control. |
Class API¶wx.RearrangeCtrl(Panel)¶Possible constructors:
RearrangeCtrl()
RearrangeCtrl(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize,
order=[], items=[], style=0, validator=DefaultValidator,
name=RearrangeListNameStr)
A composite control containing a RearrangeList and the buttons allowing to move the items in it.
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
Create must be called later to effectively create the control.
__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, order=[], items=[], style=0, validator=DefaultValidator, name=RearrangeListNameStr)
Constructor really creating the control.
Please see Create for the parameters description.
| Parameters: |
|
|---|
Create(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, order=[], items=[], style=0, validator=DefaultValidator, name=RearrangeListNameStr)¶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 .
| Parameters: |
|
|---|---|
| Return type: | bool |
GetList(self)¶Return the listbox which is the main part of this control.
| Return type: | wx.RearrangeList |
|---|