document attributes mechanism

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-11-18 11:07:33 +00:00
parent eb1c3db2dd
commit f4647740bb
5 changed files with 113 additions and 7 deletions

View File

@@ -38,6 +38,16 @@ Destructor.
Compare method that sorts the items by their index.
\membersection{wxDataViewIndexListModel::GetAttr}\label{wxdataviewindexlistmodelgetattr}
\func{bool}{GetAttr}{\param{unsigned int }{row}, \param{unsigned int }{col}, \param{wxDataViewItemAttr\& }{attr}}
Oberride this to indicate that the row has special font attributes.
This only affects the
\helpref{wxDataViewTextRendererText}{wxdataviewtextrendererattr} renderer.
See also \helpref{wxDataViewItemAttr}{wxdataviewitemattr}.
\membersection{wxDataViewIndexListModel::GetItem}\label{wxdataviewindexlistmodelgetitem}
\constfunc{wxDataViewItem}{GetItem}{\param{unsigned int }{row}}