richtextevent.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 71 行

TEX
71
字号
\section{\class{wxRichTextEvent}}\label{wxrichtextevent}

This is the event class for wxRichTextCtrl notifications. Note that event generation
is very incomplete; we need to implement events such as selection of text, deletion,
insertion, and so on.

\wxheading{Event table macros}

To process a rich text event, use these event handler macros to direct input to a member
function that takes a wxRichTextEvent argument.

\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_RICHTEXT\_LEFT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_RICHTEXT\_LEFT\_CLICK event. Not currently implemented.}
\twocolitem{{\bf EVT\_RICHTEXT\_RIGHT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_RICHTEXT\_RIGHT\_CLICK event. Not currently implemented.}
\twocolitem{{\bf EVT\_RICHTEXT\_MIDDLE\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_RICHTEXT\_MIDDLE\_CLICK event. Not currently implemented.}
\twocolitem{{\bf EVT\_RICHTEXT\_LEFT\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_RICHTEXT\_LEFT\_DCLICK event. Not currently implemented.}
\twocolitem{{\bf EVT\_RICHTEXT\_RETURN(id, func)}}{Process a wxEVT\_COMMAND\_RICHTEXT\_RETURN event, generated when the user presses the return key.}
\end{twocollist}%
 
\wxheading{Derived from}

\helpref{wxNotifyEvent}{wxnotifyevent}

\wxheading{Include files}

<wx/richtext/richtextctrl.h>

\wxheading{Data structures}

\latexignore{\rtfignore{\wxheading{Members}}}

\membersection{wxRichTextEvent::wxRichTextEvent}\label{wxrichtexteventwxrichtextevent}

\func{}{wxRichTextEvent}{\param{const wxRichTextEvent\& }{event}}

\func{}{wxRichTextEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{winid = 0}}

Constructors.

\membersection{wxRichTextEvent::Clone}\label{wxrichtexteventclone}

\constfunc{wxEvent*}{Clone}{\void}

Clones the event.

\membersection{wxRichTextEvent::GetFlags}\label{wxrichtexteventgetflags}

\constfunc{int}{GetFlags}{\void}

Returns flags indicating modifier keys pressed.

\membersection{wxRichTextEvent::GetIndex}\label{wxrichtexteventgetindex}

\constfunc{int}{GetIndex}{\void}

Not currently used.

\membersection{wxRichTextEvent::SetFlags}\label{wxrichtexteventsetflags}

\func{void}{SetFlags}{\param{int }{flags}}

Sets flags indicating modifier keys pressed. Possible values are wxRICHTEXT\_CTRL\_DOWN,
wxRICHTEXT\_SHIFT\_DOWN, andwxRICHTEXT\_ALT\_DOWN.

\membersection{wxRichTextEvent::SetIndex}\label{wxrichtexteventsetindex}

\func{void}{SetIndex}{\param{int }{n}}

Not currently used.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?