X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb96bc75a76faa2940217c28aec2535318cd8b36..d65c269b3f665e15a8ae1b8fff063b2ec0ef19a7:/docs/latex/wx/treeevt.tex diff --git a/docs/latex/wx/treeevt.tex b/docs/latex/wx/treeevt.tex index e62bc7da97..666dfb1595 100644 --- a/docs/latex/wx/treeevt.tex +++ b/docs/latex/wx/treeevt.tex @@ -48,33 +48,41 @@ functions that take a wxTreeEvent argument. Constructor. +\membersection{wxTreeEvent::GetCode} + +\constfunc{int}{GetCode}{} + +Returns the key code if the event was is a key event. Use +\helpref{GetKeyEvent}{wxtreeeventgetkeyevent} to get the values of the +modifier keys for this event (i.e. Shift or Ctrl). + \membersection{wxTreeEvent::GetItem} \constfunc{wxTreeItemId}{GetItem}{} Returns he item (valid for all events). -\membersection{wxTreeEvent::GetOldItem} +\membersection{wxTreeEvent::GetKeyEvent}\label{wxtreeeventgetkeyevent} -\constfunc{wxTreeItemId}{GetOldItem}{} +\constfunc{const wxKeyEvent\&}{GetKeyEvent}{} -Returns the old item index (valid for EVT\_TREE\_ITEM\_CHANGING and CHANGED events) +Returns the key event for {\tt EVT\_TREE\_KEY\_DOWN} events. -\membersection{wxTreeEvent::GetPoint()} +\membersection{wxTreeEvent::GetLabel} -\constfunc{wxPoint}{GetPoint}{} +\constfunc{const wxString\&}{GetLabel}{} -Returns the position of the mouse pointer if the event is a drag event. +Returns the label if the event was a begin or end edit label event. -\membersection{wxTreeEvent::GetCode} +\membersection{wxTreeEvent::GetOldItem} -\constfunc{int}{GetCode}{} +\constfunc{wxTreeItemId}{GetOldItem}{} -The key code if the event was is a key event. +Returns the old item index (valid for EVT\_TREE\_ITEM\_CHANGING and CHANGED events) -\membersection{wxTreeEvent::GetLabel} +\membersection{wxTreeEvent::GetPoint()} -\constfunc{const wxString\&}{GetLabel}{} +\constfunc{wxPoint}{GetPoint}{} -Returns the label if the event was a begin or end edit label event. +Returns the position of the mouse pointer if the event is a drag event.