]>
Commit | Line | Data |
---|---|---|
1 | \wxheading{Event handling} | |
2 | ||
3 | To process input from a treebook control, use the following event handler macros | |
4 | to direct input to member functions that take a \helpref{wxTreebookEvent}{wxtreebookevent} argument. | |
5 | ||
6 | \twocolwidtha{10cm} | |
7 | \begin{twocollist}\itemsep=0pt | |
8 | \twocolitem{{\bf EVT\_TREEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a wxEVT\_COMMAND\_TREEBOOK\_PAGE\_CHANGED event.} | |
9 | \twocolitem{{\bf EVT\_TREEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed. Processes a wxEVT\_COMMAND\_TREEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.} | |
10 | \twocolitem{{\bf EVT\_TREEBOOK\_NODE\_COLLAPSED(id, func)}}{The page node is going to be collapsed. Processes a wxEVT\_COMMAND\_TREEBOOK\_NODE\_COLLAPSED event.} | |
11 | \twocolitem{{\bf EVT\_TREEBOOK\_NODE\_EXPANDED(id, func)}}{The page node is going to be expanded. Processes a wxEVT\_COMMAND\_TREEBOOK\_NODE\_EXPANDED event.} | |
12 | \end{twocollist} |