X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd128b0c3ab84380d782e45bfa98f181a848df27..94e2ed3b8db0220160c0b939782cd46914ec073a:/docs/latex/wx/treeevt.tex diff --git a/docs/latex/wx/treeevt.tex b/docs/latex/wx/treeevt.tex index 2f662cc1e5..e62bc7da97 100644 --- a/docs/latex/wx/treeevt.tex +++ b/docs/latex/wx/treeevt.tex @@ -27,8 +27,10 @@ functions that take a wxTreeEvent argument. \twocolitem{{\bf EVT\_TREE\_DELETE\_ITEM(id, func)}}{Delete an item.} \twocolitem{{\bf EVT\_TREE\_GET\_INFO(id, func)}}{Request information from the application.} \twocolitem{{\bf EVT\_TREE\_SET\_INFO(id, func)}}{Information is being supplied.} -\twocolitem{{\bf EVT\_TREE\_ITEM\_EXPANDED(id, func)}}{Parent has been expanded.} -\twocolitem{{\bf EVT\_TREE\_ITEM\_EXPANDING(id, func)}}{Parent is being expanded. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} +\twocolitem{{\bf EVT\_TREE\_ITEM\_COLLAPSED(id, func)}}{The item has been collapsed.} +\twocolitem{{\bf EVT\_TREE\_ITEM\_COLLAPSING(id, func)}}{The item is being collapsed. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} +\twocolitem{{\bf EVT\_TREE\_ITEM\_EXPANDED(id, func)}}{The item has been expanded.} +\twocolitem{{\bf EVT\_TREE\_ITEM\_EXPANDING(id, func)}}{The item is being expanded. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} \twocolitem{{\bf EVT\_TREE\_SEL\_CHANGED(id, func)}}{Selection has changed.} \twocolitem{{\bf EVT\_TREE\_SEL\_CHANGING(id, func)}}{Selection is changing. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} \twocolitem{{\bf EVT\_TREE\_KEY\_DOWN(id, func)}}{A key has been pressed.} @@ -46,27 +48,33 @@ functions that take a wxTreeEvent argument. Constructor. -\membersection{wxTreeEvent::m\_code} +\membersection{wxTreeEvent::GetItem} -\member{int}{m\_code} +\constfunc{wxTreeItemId}{GetItem}{} -Key code if the event is a keypress event. +Returns he item (valid for all events). -\membersection{wxTreeEvent::m\_itemIndex} +\membersection{wxTreeEvent::GetOldItem} -\member{wxTreeItem}{m\_item} +\constfunc{wxTreeItemId}{GetOldItem}{} -The item (valid for all events). +Returns the old item index (valid for EVT\_TREE\_ITEM\_CHANGING and CHANGED events) -\membersection{wxTreeEvent::m\_oldItem} +\membersection{wxTreeEvent::GetPoint()} -\member{long}{m\_oldItem} +\constfunc{wxPoint}{GetPoint}{} -The old item index (valid for EVT\_TREE\_ITEM\_CHANGING and CHANGED events) +Returns the position of the mouse pointer if the event is a drag event. -\membersection{wxTreeEvent::m\_pointDrag} +\membersection{wxTreeEvent::GetCode} -\member{wxPoint}{m\_pointDrag} +\constfunc{int}{GetCode}{} -The position of the mouse pointer if the event is a drag event. +The key code if the event was is a key event. + +\membersection{wxTreeEvent::GetLabel} + +\constfunc{const wxString\&}{GetLabel}{} + +Returns the label if the event was a begin or end edit label event.