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:
Francesco Montorsi
2009-01-28 01:01:42 +00:00
parent d4624460ec
commit 02b51ae521

View File

@@ -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
@@ -1914,42 +1945,42 @@ class wxDataViewListStore: public wxDataViewIndexListModel
{
public:
/**
Constructor
Constructor
*/
wxDataViewListStore();
/**
Destructor
Destructor
*/
~wxDataViewListStore();
/**
Prepends a data column.
Prepends 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.
This does not automatically fill in any (default) values in
rows which exist in the store already.
This does not automatically fill in any (default) values in
rows which exist in the store already.
*/
void PrependColumn( const wxString &varianttype );
/**
Inserts a data column before @a pos.
Inserts a data column before @a pos.
@a variantype indicates the type of values store in the column.
@a variantype indicates the type of values store in the column.
This does not automatically fill in any (default) values in
rows which exist in the store already.
This does not automatically fill in any (default) values in
rows which exist in the store already.
*/
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.
This does not automatically fill in any (default) values in
rows which exist in the store already.
This does not automatically fill in any (default) values in
rows which exist in the store already.
*/
void AppendColumn( const wxString &varianttype );