1 \section{\class{wxTabbedDialog
}}\label{wxtabbeddialog
}
3 A dialog suitable for handling tabs.
5 Please note that the preferred class for programming tabbed windows is
\helpref{wxNotebook
}{wxnotebook
}.
6 This class is retained for backward compatibility.
8 \wxheading{Derived from
}
10 \helpref{wxDialog
}{wxdialog
}\\
11 \helpref{wxTopLevelWindow
}{wxtoplevelwindow
}\\
12 \helpref{wxWindow
}{wxwindow
}\\
13 \helpref{wxEvtHandler
}{wxevthandler
}\\
14 \helpref{wxObject
}{wxobject
}
16 \wxheading{Include files
}
22 \helpref{Tab classes overview
}{wxtaboverview
}
24 \latexignore{\rtfignore{\wxheading{Members
}}}
26 \membersection{wxTabbedDialog::wxTabbedDialog
}
28 \func{}{wxTabbedDialog
}{\param{wxWindow *
}{parent
},
\param{wxWindowID
}{id
},
29 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
},
30 \param{long
}{ style=wxDEFAULT
\_DIALOG\_STYLE},
\param{const wxString\&
}{name="dialogBox"
}}
34 \membersection{wxTabbedDialog::
\destruct{wxTabbedDialog
}}
36 \func{}{\destruct{wxTabbedDialog
}}{\void}
38 Destructor. This destructor deletes the tab view associated with the dialog box.
39 If you do not wish this to happen, set the tab view to NULL before destruction (for example,
40 in the OnCloseWindow event handler).
42 \membersection{wxTabbedDialog::SetTabView
}
44 \func{void
}{SetTabView
}{\param{wxTabView *
}{view
}}
46 Sets the tab view associated with the dialog box.
48 \membersection{wxTabbedDialog::GetTabView
}
50 \func{wxTabView *
}{GetTabView
}{\void}
52 Returns the tab view associated with the dialog box.
54 \section{\class{wxTabbedPanel
}}\label{wxtabbedpanel
}
56 A panel suitable for handling tabs.
58 Please note that the preferred class for programming tabbed windows is
\helpref{wxNotebook
}{wxnotebook
}.
59 This class is retained for backward compatibility.
61 \wxheading{Derived from
}
63 \helpref{wxPanel
}{wxpanel
}\\
64 \helpref{wxWindow
}{wxwindow
}\\
65 \helpref{wxEvtHandler
}{wxevthandler
}\\
66 \helpref{wxObject
}{wxobject
}
68 \wxheading{Include files
}
74 \helpref{Tab classes overview
}{wxtaboverview
}
76 \latexignore{\rtfignore{\wxheading{Members
}}}
78 \membersection{wxTabbedPanel::wxTabbedPanel
}
80 \func{}{wxTabbedPanel
}{\param{wxWindow *
}{parent
},
\param{wxWindowID
}{ id
},
81 \param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
},
82 \param{long
}{ style=
0},
\param{const wxString\&
}{name="panel"
}}
86 \membersection{wxTabbedPanel::SetTabView
}
88 \func{void
}{SetTabView
}{\param{wxTabView *
}{view
}}
90 Sets the tab view associated with the panel.
92 \membersection{wxTabbedPanel::GetTabView
}
94 \func{wxTabView *
}{GetTabView
}{\void}
96 Returns the tab view associated with the panel.
98 \section{\class{wxTabControl
}}\label{wxtabcontrol
}
100 You will rarely need to use this class directly.
102 Please note that the preferred class for programming tabbed windows is
\helpref{wxNotebook
}{wxnotebook
}.
103 This class is retained for backward compatibility.
105 \wxheading{Derived from
}
107 \helpref{wxObject
}{wxobject
}
109 \wxheading{Include files
}
115 \overview{Tab classes overview
}{wxtaboverview
}
117 \latexignore{\rtfignore{\wxheading{Members
}}}
119 \membersection{wxTabControl::wxTabControl
}
121 \func{void
}{wxTabControl
}{\param{wxTabView *
}{view = NULL
}}
125 \membersection{wxTabControl::GetColPosition
}
127 \func{int
}{GetColPosition
}{\void}
129 Returns the position of the tab in the tab column.
131 \membersection{wxTabControl::GetFont
}
133 \func{wxFont *
}{GetFont
}{\void}
135 Returns the font to be used for this tab.
137 \membersection{wxTabControl::GetHeight
}
139 \func{int
}{GetHeight
}{\void}
141 Returns the tab height.
143 \membersection{wxTabControl::GetId
}
145 \func{int
}{GetId
}{\void}
147 Returns the tab identifier.
149 \membersection{wxTabControl::GetLabel
}
151 \func{wxString
}{GetLabel
}{\void}
153 Returns the tab label.
155 \membersection{wxTabControl::GetRowPosition
}
157 \func{int
}{GetRowPosition
}{\void}
159 Returns the position of the tab in the layer or row.
161 \membersection{wxTabControl::GetSelected
}
163 \func{bool
}{GetSelected
}{\void}
165 Returns the selected flag.
167 \membersection{wxTabControl::GetWidth
}
169 \func{int
}{GetWidth
}{\void}
171 Returns the tab width.
173 \membersection{wxTabControl::GetX
}
175 \func{int
}{GetX
}{\void}
177 Returns the x offset from the top-left of the view area.
179 \membersection{wxTabControl::GetY
}
181 \func{int
}{GetY
}{\void}
183 Returns the y offset from the top-left of the view area.
185 \membersection{wxTabControl::HitTest
}
187 \func{bool
}{HitTest
}{\param{int
}{ x
},
\param{int
}{ y
}}
189 Returns true if the point x, y is within the tab area.
191 \membersection{wxTabControl::OnDraw
}
193 \func{void
}{OnDraw
}{\param{wxDC\&
}{dc
},
\param{bool
}{ lastInRow
}}
195 Draws the tab control on the given device context.
197 \membersection{wxTabControl::SetColPosition
}
199 \func{void
}{SetColPosition
}{\param{int
}{ pos
}}
201 Sets the position in the column.
203 \membersection{wxTabControl::SetFont
}
205 \func{void
}{SetFont
}{\param{wxFont *
}{font
}}
207 Sets the font to be used for this tab.
209 \membersection{wxTabControl::SetId
}
211 \func{void
}{SetId
}{\param{int
}{ id
}}
213 Sets the tab identifier.
215 \membersection{wxTabControl::SetLabel
}
217 \func{void
}{SetLabel
}{\param{const wxString\&
}{str
}}
219 Sets the label for the tab.
221 \membersection{wxTabControl::SetPosition
}
223 \func{void
}{SetPosition
}{\param{int
}{ x
},
\param{int
}{ y
}}
225 Sets the x and y offsets for this tab, measured from the top-left of the view area.
227 \membersection{wxTabControl::SetRowPosition
}
229 \func{void
}{SetRowPosition
}{\param{int
}{ pos
}}
231 Sets the position on the layer (row).
233 \membersection{wxTabControl::SetSelected
}
235 \func{void
}{SetSelected
}{\param{bool
}{selected
}}
237 Sets the selection flag for this tab (does not set the current tab for the view;
238 use wxTabView::SetSelectedTab for that).
240 \membersection{wxTabControl::SetSize
}
242 \func{void
}{SetSize
}{\param{int
}{ width
},
\param{int
}{ height
}}
244 Sets the width and height for this tab.