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.
|
The flags used by wxDataViewColumn.
|
||||||
|
Can be combined together.
|
||||||
*/
|
*/
|
||||||
enum wxDataViewColumnFlags
|
enum wxDataViewColumnFlags
|
||||||
{
|
{
|
||||||
@@ -1458,9 +1459,22 @@ enum wxDataViewColumnFlags
|
|||||||
class wxDataViewColumn : public wxHeaderColumn
|
class wxDataViewColumn : public wxHeaderColumn
|
||||||
{
|
{
|
||||||
public:
|
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,
|
wxDataViewColumn(const wxString& title,
|
||||||
wxDataViewRenderer* renderer,
|
wxDataViewRenderer* renderer,
|
||||||
@@ -1468,13 +1482,30 @@ public:
|
|||||||
int width = wxDVC_DEFAULT_WIDTH,
|
int width = wxDVC_DEFAULT_WIDTH,
|
||||||
wxAlignment align = wxALIGN_CENTER,
|
wxAlignment align = wxALIGN_CENTER,
|
||||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
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,
|
wxDataViewColumn(const wxBitmap& bitmap,
|
||||||
wxDataViewRenderer* renderer,
|
wxDataViewRenderer* renderer,
|
||||||
unsigned int model_column,
|
unsigned int model_column,
|
||||||
int width = wxDVC_DEFAULT_WIDTH,
|
int width = wxDVC_DEFAULT_WIDTH,
|
||||||
wxAlignment align = wxALIGN_CENTER,
|
wxAlignment align = wxALIGN_CENTER,
|
||||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||||
//@}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the index of the column of the model, which this
|
Returns the index of the column of the model, which this
|
||||||
@@ -1944,7 +1975,7 @@ public:
|
|||||||
void InsertColumn( unsigned int pos, const wxString &varianttype );
|
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.
|
@a variantype indicates the type of values store in the column.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user