1 \section{\class{wxRichTextEvent
}}\label{wxrichtextevent
}
3 This is the event class for wxRichTextCtrl notifications. Note that event generation
4 is very incomplete; we need to implement events such as selection of text, deletion,
7 \wxheading{Event table macros
}
9 To process a rich text event, use these event handler macros to direct input to a member
10 function that takes a wxRichTextEvent argument.
13 \begin{twocollist
}\itemsep=
0pt
14 \twocolitem{{\bf EVT
\_RICHTEXT\_LEFT\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_LEFT\_CLICK event. Not currently implemented.
}
15 \twocolitem{{\bf EVT
\_RICHTEXT\_RIGHT\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_RIGHT\_CLICK event. Not currently implemented.
}
16 \twocolitem{{\bf EVT
\_RICHTEXT\_MIDDLE\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_MIDDLE\_CLICK event. Not currently implemented.
}
17 \twocolitem{{\bf EVT
\_RICHTEXT\_LEFT\_DCLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_LEFT\_DCLICK event. Not currently implemented.
}
18 \twocolitem{{\bf EVT
\_RICHTEXT\_RETURN(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_RETURN event, generated when the user presses the return key.
}
21 \wxheading{Derived from
}
23 \helpref{wxNotifyEvent
}{wxnotifyevent
}
25 \wxheading{Include files
}
27 <wx/richtext/richtextctrl.h>
29 \wxheading{Data structures
}
31 \latexignore{\rtfignore{\wxheading{Members
}}}
33 \membersection{wxRichTextEvent::wxRichTextEvent
}\label{wxrichtexteventwxrichtextevent
}
35 \func{}{wxRichTextEvent
}{\param{const wxRichTextEvent\&
}{event
}}
37 \func{}{wxRichTextEvent
}{\param{wxEventType
}{commandType = wxEVT
\_NULL},
\param{int
}{winid =
0}}
41 \membersection{wxRichTextEvent::Clone
}\label{wxrichtexteventclone
}
43 \constfunc{wxEvent*
}{Clone
}{\void}
47 \membersection{wxRichTextEvent::GetFlags
}\label{wxrichtexteventgetflags
}
49 \constfunc{int
}{GetFlags
}{\void}
51 Returns flags indicating modifier keys pressed.
53 \membersection{wxRichTextEvent::GetIndex
}\label{wxrichtexteventgetindex
}
55 \constfunc{int
}{GetIndex
}{\void}
59 \membersection{wxRichTextEvent::SetFlags
}\label{wxrichtexteventsetflags
}
61 \func{void
}{SetFlags
}{\param{int
}{flags
}}
63 Sets flags indicating modifier keys pressed. Possible values are wxRICHTEXT
\_CTRL\_DOWN,
64 wxRICHTEXT
\_SHIFT\_DOWN, andwxRICHTEXT
\_ALT\_DOWN.
66 \membersection{wxRichTextEvent::SetIndex
}\label{wxrichtexteventsetindex
}
68 \func{void
}{SetIndex
}{\param{int
}{n
}}