]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/focusevt.tex
1. wxFile docs updated, wxTextFile and wxTempFile docs written (thanks HelpGen :-)
[wxWidgets.git] / docs / latex / wx / focusevt.tex
1 \section{\class{wxFocusEvent}}\label{wxfocusevent}
2
3 A focus event is sent when a window's focus changes.
4
5 \wxheading{Derived from}
6
7 \helpref{wxEvent}{wxevent}\\
8 \helpref{wxObject}{wxobject}
9
10 \wxheading{Event table macros}
11
12 To process a focus event, use these event handler macros to direct input to a member
13 function that takes a wxFocusEvent argument.
14
15 \twocolwidtha{7cm}
16 \begin{twocollist}\itemsep=0pt
17 \twocolitem{{\bf EVT\_SET\_FOCUS(func)}}{Process a wxEVT\_SET\_FOCUS event.}
18 \twocolitem{{\bf EVT\_KILL\_FOCUS(func)}}{Process a wxEVT\_KILL\_FOCUS event.}
19 \end{twocollist}%
20
21 \wxheading{See also}
22
23 \helpref{wxWindow::OnSetFocus}{wxwindowonsetfocus},\rtfsp
24 \helpref{wxWindow::OnKillFocus}{wxwindowonkillfocus},\rtfsp
25 \helpref{Event handling overview}{eventhandlingoverview}
26
27 \latexignore{\rtfignore{\wxheading{Members}}}
28
29 \membersection{wxFocusEvent::wxFocusEvent}
30
31 \func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}}
32
33 Constructor.
34