better docs for wxDataViewColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1434,6 +1434,7 @@ public:
|
||||
|
||||
/**
|
||||
The flags used by wxDataViewColumn.
|
||||
Can be combined together.
|
||||
*/
|
||||
enum wxDataViewColumnFlags
|
||||
{
|
||||
@@ -1458,9 +1459,22 @@ enum wxDataViewColumnFlags
|
||||
class wxDataViewColumn : public wxHeaderColumn
|
||||
{
|
||||
public:
|
||||
//@{
|
||||
/**
|
||||
Constructors.
|
||||
Constructs a text column.
|
||||
|
||||
@param title
|
||||
The title of the column.
|
||||
@param renderer
|
||||
The class which will render the contents of this column.
|
||||
@param model_column
|
||||
The index of the model's column which is associated with this object.
|
||||
@param width
|
||||
The width of the column.
|
||||
The @c wxDVC_DEFAULT_WIDTH value is the fixed default value.
|
||||
@param align
|
||||
The alignment of the column title.
|
||||
@param flags
|
||||
One or more flags of the ::wxDataViewColumnFlags enumeration.
|
||||
*/
|
||||
wxDataViewColumn(const wxString& title,
|
||||
wxDataViewRenderer* renderer,
|
||||
@@ -1468,13 +1482,30 @@ public:
|
||||
int width = wxDVC_DEFAULT_WIDTH,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
|
||||
/**
|
||||
Constructs a bitmap column.
|
||||
|
||||
@param bitmap
|
||||
The bitmap of the column.
|
||||
@param renderer
|
||||
The class which will render the contents of this column.
|
||||
@param model_column
|
||||
The index of the model's column which is associated with this object.
|
||||
@param width
|
||||
The width of the column.
|
||||
The @c wxDVC_DEFAULT_WIDTH value is the fixed default value.
|
||||
@param align
|
||||
The alignment of the column title.
|
||||
@param flags
|
||||
One or more flags of the ::wxDataViewColumnFlags enumeration.
|
||||
*/
|
||||
wxDataViewColumn(const wxBitmap& bitmap,
|
||||
wxDataViewRenderer* renderer,
|
||||
unsigned int model_column,
|
||||
int width = wxDVC_DEFAULT_WIDTH,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
Returns the index of the column of the model, which this
|
||||
@@ -1944,7 +1975,7 @@ public:
|
||||
void InsertColumn( unsigned int pos, const wxString &varianttype );
|
||||
|
||||
/**
|
||||
Apppends a data column.
|
||||
Appends a data column.
|
||||
|
||||
@a variantype indicates the type of values store in the column.
|
||||
|
||||
|
Reference in New Issue
Block a user