2 % automatically generated by HelpGen from
3 % grid.h at 11/May/00 18:30:19
7 \section{\class{wxGridCellAttr
}}\label{wxgridcellattr
}
11 wxGridCellAttr: this class can be used to alter the cells appearance in
12 the grid by changing their colour/font/... from default. An object of this
13 class may be returned by wxGridTable::GetAttr().
16 \wxheading{Derived from
}
20 \wxheading{Data structures
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{wxGridCellAttr::wxGridCellAttr
}\label{wxgridcellattrwxgridcellattr
}
27 \func{}{wxGridCellAttr
}{\void}
32 \membersection{wxGridCellAttr::wxGridCellAttr
}\label{wxgridcellattrwxgridcellattr
}
34 \func{}{wxGridCellAttr
}{\param{const wxColour\&
}{colText
},
\param{const wxColour\&
}{colBack
},
\param{const wxFont\&
}{font
},
\param{int
}{hAlign
},
\param{int
}{vAlign
}}
36 VZ: considering the number of members wxGridCellAttr has now, this ctor
37 seems to be pretty useless... may be we should just remove it?
40 \membersection{wxGridCellAttr::Clone
}\label{wxgridcellattrclone
}
42 \constfunc{wxGridCellAttr*
}{Clone
}{\void}
44 creates a new copy of this object
47 \membersection{wxGridCellAttr::IncRef
}\label{wxgridcellattrincref
}
49 \func{void
}{IncRef
}{\void}
51 this class is ref counted: it is created with ref count of
1, so
52 calling DecRef() once will delete it. Calling IncRef() allows to lock
53 it until the matching DecRef() is called
56 \membersection{wxGridCellAttr::DecRef
}\label{wxgridcellattrdecref
}
58 \func{void
}{DecRef
}{\void}
61 \membersection{wxGridCellAttr::SetTextColour
}\label{wxgridcellattrsettextcolour
}
63 \func{void
}{SetTextColour
}{\param{const wxColour\&
}{colText
}}
68 \membersection{wxGridCellAttr::SetBackgroundColour
}\label{wxgridcellattrsetbackgroundcolour
}
70 \func{void
}{SetBackgroundColour
}{\param{const wxColour\&
}{colBack
}}
73 \membersection{wxGridCellAttr::SetFont
}\label{wxgridcellattrsetfont
}
75 \func{void
}{SetFont
}{\param{const wxFont\&
}{font
}}
78 \membersection{wxGridCellAttr::SetAlignment
}\label{wxgridcellattrsetalignment
}
80 \func{void
}{SetAlignment
}{\param{int
}{hAlign
},
\param{int
}{vAlign
}}
83 \membersection{wxGridCellAttr::SetReadOnly
}\label{wxgridcellattrsetreadonly
}
85 \func{void
}{SetReadOnly
}{\param{bool
}{isReadOnly = TRUE
}}
88 \membersection{wxGridCellAttr::SetRenderer
}\label{wxgridcellattrsetrenderer
}
90 \func{void
}{SetRenderer
}{\param{wxGridCellRenderer*
}{renderer
}}
92 takes ownership of the pointer
95 \membersection{wxGridCellAttr::SetEditor
}\label{wxgridcellattrseteditor
}
97 \func{void
}{SetEditor
}{\param{wxGridCellEditor*
}{editor
}}
100 \membersection{wxGridCellAttr::HasTextColour
}\label{wxgridcellattrhastextcolour
}
102 \constfunc{bool
}{HasTextColour
}{\void}
107 \membersection{wxGridCellAttr::HasBackgroundColour
}\label{wxgridcellattrhasbackgroundcolour
}
109 \constfunc{bool
}{HasBackgroundColour
}{\void}
112 \membersection{wxGridCellAttr::HasFont
}\label{wxgridcellattrhasfont
}
114 \constfunc{bool
}{HasFont
}{\void}
117 \membersection{wxGridCellAttr::HasAlignment
}\label{wxgridcellattrhasalignment
}
119 \constfunc{bool
}{HasAlignment
}{\void}
122 \membersection{wxGridCellAttr::HasRenderer
}\label{wxgridcellattrhasrenderer
}
124 \constfunc{bool
}{HasRenderer
}{\void}
127 \membersection{wxGridCellAttr::HasEditor
}\label{wxgridcellattrhaseditor
}
129 \constfunc{bool
}{HasEditor
}{\void}
132 \membersection{wxGridCellAttr::GetTextColour
}\label{wxgridcellattrgettextcolour
}
134 \constfunc{const wxColour\&
}{GetTextColour
}{\void}
137 \membersection{wxGridCellAttr::GetBackgroundColour
}\label{wxgridcellattrgetbackgroundcolour
}
139 \constfunc{const wxColour\&
}{GetBackgroundColour
}{\void}
142 \membersection{wxGridCellAttr::GetFont
}\label{wxgridcellattrgetfont
}
144 \constfunc{const wxFont\&
}{GetFont
}{\void}
147 \membersection{wxGridCellAttr::GetAlignment
}\label{wxgridcellattrgetalignment
}
149 \constfunc{void
}{GetAlignment
}{\param{int*
}{hAlign
},
\param{int*
}{vAlign
}}
152 \membersection{wxGridCellAttr::GetRenderer
}\label{wxgridcellattrgetrenderer
}
154 \constfunc{wxGridCellRenderer*
}{GetRenderer
}{\param{wxGrid*
}{grid
},
\param{int
}{row
},
\param{int
}{col
}}
157 \membersection{wxGridCellAttr::GetEditor
}\label{wxgridcellattrgeteditor
}
159 \constfunc{wxGridCellEditor*
}{GetEditor
}{\param{wxGrid*
}{grid
},
\param{int
}{row
},
\param{int
}{col
}}
162 \membersection{wxGridCellAttr::IsReadOnly
}\label{wxgridcellattrisreadonly
}
164 \constfunc{bool
}{IsReadOnly
}{\void}
167 \membersection{wxGridCellAttr::SetDefAttr
}\label{wxgridcellattrsetdefattr
}
169 \func{void
}{SetDefAttr
}{\param{wxGridCellAttr*
}{defAttr
}}