This commit was manufactured by cvs2svn to create tag 'WX_2_2_9'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_2_9@13364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
134
docs/latex/wx/gridedit.tex
Normal file
134
docs/latex/wx/gridedit.tex
Normal file
@@ -0,0 +1,134 @@
|
||||
%
|
||||
% automatically generated by HelpGen from
|
||||
% grid.h at 11/May/00 18:30:18
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxGridCellEditor}}\label{wxgridcelleditor}
|
||||
|
||||
|
||||
|
||||
wxGridCellEditor: This class is responsible for providing and manipulating
|
||||
the in-place edit controls for the grid. Instances of wxGridCellEditor
|
||||
(actually, instances of derived classes since it is an ABC) can be
|
||||
associated with the cell attributes for individual cells, rows, columns, or
|
||||
even for the entire grid.
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxGridCellWorker}{wxgridcellworker}
|
||||
|
||||
\wxheading{Data structures}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::wxGridCellEditor}\label{wxgridcelleditorwxgridcelleditor}
|
||||
|
||||
\func{}{wxGridCellEditor}{\void}
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::IsCreated}\label{wxgridcelleditoriscreated}
|
||||
|
||||
\func{bool}{IsCreated}{\void}
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::Create}\label{wxgridcelleditorcreate}
|
||||
|
||||
\func{void}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{wxEvtHandler* }{evtHandler}}
|
||||
|
||||
Creates the actual edit control
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::SetSize}\label{wxgridcelleditorsetsize}
|
||||
|
||||
\func{void}{SetSize}{\param{const wxRect\& }{rect}}
|
||||
|
||||
Size and position the edit control
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::Show}\label{wxgridcelleditorshow}
|
||||
|
||||
\func{void}{Show}{\param{bool }{show}, \param{wxGridCellAttr* }{attr = NULL}}
|
||||
|
||||
Show or hide the edit control, use the specified attributes to set
|
||||
colours/fonts for it
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::PaintBackground}\label{wxgridcelleditorpaintbackground}
|
||||
|
||||
\func{void}{PaintBackground}{\param{const wxRect\& }{rectCell}, \param{wxGridCellAttr* }{attr}}
|
||||
|
||||
Draws the part of the cell not occupied by the control: the base class
|
||||
version just fills it with background colour from the attribute
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::BeginEdit}\label{wxgridcelleditorbeginedit}
|
||||
|
||||
\func{void}{BeginEdit}{\param{int }{row}, \param{int }{col}, \param{wxGrid* }{grid}}
|
||||
|
||||
Fetch the value from the table and prepare the edit control
|
||||
to begin editing. Set the focus to the edit control.
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::EndEdit}\label{wxgridcelleditorendedit}
|
||||
|
||||
\func{bool}{EndEdit}{\param{int }{row}, \param{int }{col}, \param{wxGrid* }{grid}}
|
||||
|
||||
Complete the editing of the current cell. Returns true if the value has
|
||||
changed. If necessary, the control may be destroyed.
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::Reset}\label{wxgridcelleditorreset}
|
||||
|
||||
\func{void}{Reset}{\void}
|
||||
|
||||
Reset the value in the control back to its starting value
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::StartingKey}\label{wxgridcelleditorstartingkey}
|
||||
|
||||
\func{void}{StartingKey}{\param{wxKeyEvent\& }{event}}
|
||||
|
||||
If the editor is enabled by pressing keys on the grid,
|
||||
this will be called to let the editor do something about
|
||||
that first key if desired.
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::StartingClick}\label{wxgridcelleditorstartingclick}
|
||||
|
||||
\func{void}{StartingClick}{\void}
|
||||
|
||||
if the editor is enabled by clicking on the cell, this method will be
|
||||
called
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::HandleReturn}\label{wxgridcelleditorhandlereturn}
|
||||
|
||||
\func{void}{HandleReturn}{\param{wxKeyEvent\& }{event}}
|
||||
|
||||
Some types of controls on some platforms may need some help
|
||||
with the Return key.
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::Destroy}\label{wxgridcelleditordestroy}
|
||||
|
||||
\func{void}{Destroy}{\void}
|
||||
|
||||
Final cleanup
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::Clone}\label{wxgridcelleditorclone}
|
||||
|
||||
\constfunc{wxGridCellEditor*}{Clone}{\void}
|
||||
|
||||
create a new object which is the copy of this one
|
||||
|
||||
|
||||
\membersection{wxGridCellEditor::\destruct{wxGridCellEditor}}\label{wxgridcelleditordtor}
|
||||
|
||||
\func{}{\destruct{wxGridCellEditor}}{\void}
|
||||
|
||||
the dtor is private because only DecRef() can delete us
|
||||
|
Reference in New Issue
Block a user