1 \section{\class{wxRichTextEvent
}}\label{wxrichtextevent
}
3 This is the event class for wxRichTextCtrl notifications. Note that event generation
4 is incomplete; events to be implemented include selection of text, deletion, insertion, and so on.
6 \wxheading{Event table macros
}
8 To process a rich text event, use these event handler macros to direct input to a member
9 function that takes a wxRichTextEvent argument.
12 \begin{twocollist
}\itemsep=
0pt
13 \twocolitem{{\bf EVT
\_RICHTEXT\_LEFT\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_LEFT\_CLICK event. Not currently implemented.
}
14 \twocolitem{{\bf EVT
\_RICHTEXT\_RIGHT\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_RIGHT\_CLICK event. Not currently implemented.
}
15 \twocolitem{{\bf EVT
\_RICHTEXT\_MIDDLE\_CLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_MIDDLE\_CLICK event. Not currently implemented.
}
16 \twocolitem{{\bf EVT
\_RICHTEXT\_LEFT\_DCLICK(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_LEFT\_DCLICK event. Not currently implemented.
}
17 \twocolitem{{\bf EVT
\_RICHTEXT\_RETURN(id, func)
}}{Process a wxEVT
\_COMMAND\_RICHTEXT\_RETURN event, generated when the user presses the return key.
}
20 \wxheading{Derived from
}
22 \helpref{wxNotifyEvent
}{wxnotifyevent
}
24 \wxheading{Include files
}
26 <wx/richtext/richtextctrl.h>
28 \wxheading{Data structures
}
30 \latexignore{\rtfignore{\wxheading{Members
}}}
32 \membersection{wxRichTextEvent::wxRichTextEvent
}\label{wxrichtexteventwxrichtextevent
}
34 \func{}{wxRichTextEvent
}{\param{const wxRichTextEvent\&
}{event
}}
36 \func{}{wxRichTextEvent
}{\param{wxEventType
}{commandType = wxEVT
\_NULL},
\param{int
}{winid =
0}}
40 \membersection{wxRichTextEvent::Clone
}\label{wxrichtexteventclone
}
42 \constfunc{wxEvent*
}{Clone
}{\void}
46 \membersection{wxRichTextEvent::GetFlags
}\label{wxrichtexteventgetflags
}
48 \constfunc{int
}{GetFlags
}{\void}
50 Returns flags indicating modifier keys pressed.
52 \membersection{wxRichTextEvent::GetIndex
}\label{wxrichtexteventgetindex
}
54 \constfunc{int
}{GetIndex
}{\void}
58 \membersection{wxRichTextEvent::SetFlags
}\label{wxrichtexteventsetflags
}
60 \func{void
}{SetFlags
}{\param{int
}{flags
}}
62 Sets flags indicating modifier keys pressed. Possible values are wxRICHTEXT
\_CTRL\_DOWN,
63 wxRICHTEXT
\_SHIFT\_DOWN, andwxRICHTEXT
\_ALT\_DOWN.
65 \membersection{wxRichTextEvent::SetIndex
}\label{wxrichtexteventsetindex
}
67 \func{void
}{SetIndex
}{\param{int
}{n
}}