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