]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/focusevt.tex
Some work on GTK focus handling and events.
[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
954b8ae6
JS
10\wxheading{Include files}
11
12<wx/event.h>
13
a660d684
KB
14\wxheading{Event table macros}
15
16To process a focus event, use these event handler macros to direct input to a member
17function that takes a wxFocusEvent argument.
18
19\twocolwidtha{7cm}
20\begin{twocollist}\itemsep=0pt
21\twocolitem{{\bf EVT\_SET\_FOCUS(func)}}{Process a wxEVT\_SET\_FOCUS event.}
22\twocolitem{{\bf EVT\_KILL\_FOCUS(func)}}{Process a wxEVT\_KILL\_FOCUS event.}
23\end{twocollist}%
24
25\wxheading{See also}
26
27\helpref{wxWindow::OnSetFocus}{wxwindowonsetfocus},\rtfsp
28\helpref{wxWindow::OnKillFocus}{wxwindowonkillfocus},\rtfsp
29\helpref{Event handling overview}{eventhandlingoverview}
30
31\latexignore{\rtfignore{\wxheading{Members}}}
32
33\membersection{wxFocusEvent::wxFocusEvent}
34
35\func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}}
36
37Constructor.
38