]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/focusevt.tex
GTK
[wxWidgets.git] / docs / latex / wx / focusevt.tex
CommitLineData
a660d684
KB
1\section{\class{wxFocusEvent}}\label{wxfocusevent}
2
3A 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
12To process a focus event, use these event handler macros to direct input to a member
13function 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
33Constructor.
34