#include </home/zeitlin/src/wx/github/interface/wx/rearrangectrl.h>
A composite control containing a wxRearrangeList and the buttons allowing to move the items in it.
This control is in fact a panel containing the wxRearrangeList 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 wxRearrangeDialog.
Public Member Functions | |
wxRearrangeCtrl () | |
Default constructor. | |
wxRearrangeCtrl (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayInt &order, const wxArrayString &items, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxRearrangeListNameStr) | |
Constructor really creating the control. | |
bool | Create (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayInt &order, const wxArrayString &items, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxRearrangeListNameStr) |
Effectively creates the window for an object created using the default constructor. | |
wxRearrangeList * | GetList () const |
Return the listbox which is the main part of this control. |
wxRearrangeCtrl::wxRearrangeCtrl | ( | ) |
Default constructor.
Create() must be called later to effectively create the control.
wxRearrangeCtrl::wxRearrangeCtrl | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayInt & | order, | ||
const wxArrayString & | items, | ||
long | style = 0 , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxRearrangeListNameStr |
||
) |
Constructor really creating the control.
Please see Create() for the parameters description.
bool wxRearrangeCtrl::Create | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayInt & | order, | ||
const wxArrayString & | items, | ||
long | style = 0 , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxRearrangeListNameStr |
||
) |
Effectively creates the window for an object created using the default constructor.
The parameters of this method are the same as for wxRearrangeList::Create().
wxRearrangeList* wxRearrangeCtrl::GetList | ( | ) | const |
Return the listbox which is the main part of this control.