]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/pantabv.tex
added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSi...
[wxWidgets.git] / docs / latex / wx / pantabv.tex
CommitLineData
a660d684
KB
1\section{\class{wxPanelTabView}}\label{wxpaneltabview}
2
3The wxPanelTabView is responsible for input and output on a wxPanel.
4
5\wxheading{Derived from}
6
7\helpref{wxTabView}{wxtabview}\\
8\helpref{wxObject}{wxobject}
9
954b8ae6
JS
10\wxheading{Include files}
11
12<wx/tab.h>
13
a660d684
KB
14\wxheading{See also}
15
16\helpref{wxTabView overview}{wxtabviewoverview}, \helpref{wxTabView}{wxtabview}
17
18\latexignore{\rtfignore{\wxheading{Members}}}
19
20\membersection{wxPanelTabView::wxPanelTabView}\label{wxpaneltabviewconstr}
21
22\func{void}{wxPanelTabView}{\param{wxPanel *}{panel}, \param{long }{style = wxTAB\_STYLE\_DRAW\_BOX \pipe wxTAB\_STYLE\_COLOUR\_INTERIOR}}
23
24Constructor. {\it panel} should be a wxTabbedPanel or wxTabbedDialog: the type will be checked by the view at run time.
25
26{\it style} may be a bit list of the following:
27
28\begin{twocollist}\itemsep=0pt
29\twocolitem{wxTAB\_STYLE\_DRAW\_BOX}{Draw a box around the view area. Most commonly used for dialogs.}
30\twocolitem{wxTAB\_STYLE\_COLOUR\_INTERIOR}{Draw tab backgrounds in the specified colour. Omitting this style
31will ensure that the tab background matches the dialog background.}
32\end{twocollist}
33
34\membersection{wxPanelTabView::\destruct{wxPanelTabView}}
35
36\func{void}{\destruct{wxPanelTabView}}{\void}
37
38Destructor. This destructor deletes all the panels associated with the view.
cc81d32f 39If you do not wish this to happen, call ClearWindows with argument false before the
a660d684
KB
40view is likely to be destroyed. This will clear the list of windows, without deleting them.
41
42\membersection{wxPanelTabView::AddTabWindow}\label{wxpaneltabviewaddtabwindow}
43
44\func{void}{AddTabPanel}{\param{int}{ id}, \param{wxWindow *}{window}}
45
46Adds a window to the view. The window is associated with the tab identifier, and will be shown or hidden as the tab
47is selected or deselected.
48
49\membersection{wxPanelTabView::ClearWindows}
50
cc81d32f 51\func{void}{ClearWindows}{\param{bool}{ deleteWindows = true}}
a660d684 52
cc81d32f 53Removes the child windows from the view. If {\it deleteWindows} is true, the windows will be deleted.
a660d684
KB
54
55\membersection{wxPanelTabView::GetCurrentWindow}
56
57\func{wxPanel *}{GetCurrentWindow}{\void}
58
59Returns the child window currently being displayed on the tabbed panel or dialog box.
60
61\membersection{wxPanelTabView::GetTabWindow}
62
63\func{wxWindow *}{GetTabWindow}{\param{int}{ id}}
64
65Returns the window associated with the tab identifier.
66
67\membersection{wxPanelTabView::ShowWindowForTab}
68
69\func{void}{ShowWindowForTab}{\param{int}{ id}}
70
71Shows the child window corresponding to the tab identifier, and hides the previously shown window.
72
73