1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxPanelTabView}}\label{wxpaneltabview}
|
|
|
|
|
|
|
|
The wxPanelTabView is responsible for input and output on a wxPanel.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxTabView}{wxtabview}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/tab.h>
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxTabView overview}{wxtabviewoverview}, \helpref{wxTabView}{wxtabview}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::wxPanelTabView}\label{wxpaneltabviewconstr}
|
|
|
|
|
|
|
|
\func{void}{wxPanelTabView}{\param{wxPanel *}{panel}, \param{long }{style = wxTAB\_STYLE\_DRAW\_BOX \pipe wxTAB\_STYLE\_COLOUR\_INTERIOR}}
|
|
|
|
|
|
|
|
Constructor. {\it panel} should be a wxTabbedPanel or wxTabbedDialog: the type will be checked by the view at run time.
|
|
|
|
|
|
|
|
{\it style} may be a bit list of the following:
|
|
|
|
|
|
|
|
\begin{twocollist}\itemsep=0pt
|
|
|
|
\twocolitem{wxTAB\_STYLE\_DRAW\_BOX}{Draw a box around the view area. Most commonly used for dialogs.}
|
|
|
|
\twocolitem{wxTAB\_STYLE\_COLOUR\_INTERIOR}{Draw tab backgrounds in the specified colour. Omitting this style
|
|
|
|
will ensure that the tab background matches the dialog background.}
|
|
|
|
\end{twocollist}
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::\destruct{wxPanelTabView}}
|
|
|
|
|
|
|
|
\func{void}{\destruct{wxPanelTabView}}{\void}
|
|
|
|
|
|
|
|
Destructor. This destructor deletes all the panels associated with the view.
|
2003-01-17 19:16:34 -05:00
|
|
|
If you do not wish this to happen, call ClearWindows with argument false before the
|
1998-05-20 10:25:30 -04:00
|
|
|
view is likely to be destroyed. This will clear the list of windows, without deleting them.
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::AddTabWindow}\label{wxpaneltabviewaddtabwindow}
|
|
|
|
|
|
|
|
\func{void}{AddTabPanel}{\param{int}{ id}, \param{wxWindow *}{window}}
|
|
|
|
|
|
|
|
Adds a window to the view. The window is associated with the tab identifier, and will be shown or hidden as the tab
|
|
|
|
is selected or deselected.
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::ClearWindows}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
\func{void}{ClearWindows}{\param{bool}{ deleteWindows = true}}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Removes the child windows from the view. If {\it deleteWindows} is true, the windows will be deleted.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\membersection{wxPanelTabView::GetCurrentWindow}
|
|
|
|
|
|
|
|
\func{wxPanel *}{GetCurrentWindow}{\void}
|
|
|
|
|
|
|
|
Returns the child window currently being displayed on the tabbed panel or dialog box.
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::GetTabWindow}
|
|
|
|
|
|
|
|
\func{wxWindow *}{GetTabWindow}{\param{int}{ id}}
|
|
|
|
|
|
|
|
Returns the window associated with the tab identifier.
|
|
|
|
|
|
|
|
\membersection{wxPanelTabView::ShowWindowForTab}
|
|
|
|
|
|
|
|
\func{void}{ShowWindowForTab}{\param{int}{ id}}
|
|
|
|
|
|
|
|
Shows the child window corresponding to the tab identifier, and hides the previously shown window.
|
|
|
|
|
|
|
|
|