treebookevent.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 81 行

TEX
81
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name:        treebookevent.tex
%% Purpose:     wxTreebookEvent documentation
%% Author:      Evgeniy Tarassov
%% Modified by:
%% Created:     2005-10-04
%% RCS-ID:      $Id: treebookevent.tex,v 1.1 2005/10/09 18:40:18 VZ Exp $
%% Copyright:   (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
%% License:     wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{\class{wxTreebookEvent}}\label{wxtreebookevent}

This class represents the events generated by a treebook control: currently,
there are four of them. The PAGE\_CHANGING and PAGE\_CHANGED - have exactly the same
behaviour as \helpref{wxNotebookEvent}{wxnotebookevent}.

The other two NODE\_COLLAPSED and NODE\_EXPANDED are triggered when page node in the tree control
is collapsed/expanded. The page index could be retreived by calling
\helpref{wxTreebookEvent::GetSelection}{wxtreebookeventgetselection}.



\wxheading{Derived from}

wxBookCtrlBaseEvent\\
\helpref{wxNotifyEvent}{wxnotifyevent}\\
\helpref{wxCommandEvent}{wxcommandevent}\\
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}



\wxheading{Include files}

<treebook.h>



\input treebookevt.inc



\wxheading{See also}

\helpref{wxNotebookEvent}{wxnotebookevent}, \helpref{wxTreebook}{wxtreebook}



\latexignore{\rtfignore{\wxheading{Members}}}


\membersection{wxTreebookEvent::wxTreebookEvent}\label{wxtreebookeventwxtreebookevent}

\func{}{wxTreebookEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{id = 0}, \param{int }{nSel = wxNOT\_FOUND}, \param{int }{nOldSel = wxNOT\_FOUND}}

\wxheading{See also}

\helpref{wxNotebookEvent}{wxnotebookevent}



\membersection{wxTreebookEvent::GetOldSelection}\label{wxtreebookeventgetoldselection}

\constfunc{int}{GetOldSelection}{\void}

Returns the page that was selected before the change, wxNOT\_FOUND if none was selected.



\membersection{wxTreebookEvent::GetSelection}\label{wxtreebookeventgetselection}

\constfunc{int}{GetSelection}{\void}

Returns the currently selected page, or wxNOT\_FOUND if none was selected.

\wxheading{See also}

\helpref{wxNotebookEvent::GetSelection}{wxnotebookeventgetselection}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?