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{wxEvtHandler
}{wxevthandler
}\\
12 \helpref{wxObject
}{wxobject
}
14 \wxheading{Include files
}
20 \helpref{Tab classes overview
}{wxtaboverview
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
24 \membersection{wxTabbedDialog::wxTabbedDialog
}
26 \func{}{wxTabbedDialog
}{\param{wxWindow *
}{parent
},
\param{wxWindowID
}{id
},
27 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
},
28 \param{long
}{ style=wxDEFAULT
\_DIALOG\_STYLE},
\param{const wxString\&
}{name="dialogBox"
}}
32 \membersection{wxTabbedDialog::
\destruct{wxTabbedDialog
}}
34 \func{}{\destruct{wxTabbedDialog
}}{\void}
36 Destructor. This destructor deletes the tab view associated with the dialog box.
37 If you do not wish this to happen, set the tab view to NULL before destruction (for example,
38 in the OnCloseWindow event handler).
40 \membersection{wxTabbedDialog::SetTabView
}
42 \func{void
}{SetTabView
}{\param{wxTabView *
}{view
}}
44 Sets the tab view associated with the dialog box.
46 \membersection{wxTabbedDialog::GetTabView
}
48 \func{wxTabView *
}{GetTabView
}{\void}
50 Returns the tab view associated with the dialog box.
52 \section{\class{wxTabbedPanel
}}\label{wxtabbedpanel
}
54 A panel suitable for handling tabs.
56 Please note that the preferred class for programming tabbed windows is
\helpref{wxNotebook
}{wxnotebook
}.
57 This class is retained for backward compatibility.
59 \wxheading{Derived from
}
61 \helpref{wxPanel
}{wxpanel
}\\
62 \helpref{wxEvtHandler
}{wxevthandler
}\\
63 \helpref{wxObject
}{wxobject
}
65 \wxheading{Include files
}
71 \helpref{Tab classes overview
}{wxtaboverview
}
73 \latexignore{\rtfignore{\wxheading{Members
}}}
75 \membersection{wxTabbedPanel::wxTabbedPanel
}
77 \func{}{wxTabbedPanel
}{\param{wxWindow *
}{parent
},
\param{wxWindowID
}{ id
},
78 \param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
},
79 \param{long
}{ style=
0},
\param{const wxString\&
}{name="panel"
}}
83 \membersection{wxTabbedPanel::SetTabView
}
85 \func{void
}{SetTabView
}{\param{wxTabView *
}{view
}}
87 Sets the tab view associated with the panel.
89 \membersection{wxTabbedPanel::GetTabView
}
91 \func{wxTabView *
}{GetTabView
}{\void}
93 Returns the tab view associated with the panel.
95 \section{\class{wxTabControl
}}\label{wxtabcontrol
}
97 You will rarely need to use this class directly.
99 Please note that the preferred class for programming tabbed windows is
\helpref{wxNotebook
}{wxnotebook
}.
100 This class is retained for backward compatibility.
102 \wxheading{Derived from
}
104 \helpref{wxObject
}{wxobject
}
106 \wxheading{Include files
}
112 \overview{Tab classes overview
}{wxtaboverview
}
114 \latexignore{\rtfignore{\wxheading{Members
}}}
116 \membersection{wxTabControl::wxTabControl
}
118 \func{void
}{wxTabControl
}{\param{wxTabView *
}{view = NULL
}}
122 \membersection{wxTabControl::GetColPosition
}
124 \func{int
}{GetColPosition
}{\void}
126 Returns the position of the tab in the tab column.
128 \membersection{wxTabControl::GetFont
}
130 \func{wxFont *
}{GetFont
}{\void}
132 Returns the font to be used for this tab.
134 \membersection{wxTabControl::GetHeight
}
136 \func{int
}{GetHeight
}{\void}
138 Returns the tab height.
140 \membersection{wxTabControl::GetId
}
142 \func{int
}{GetId
}{\void}
144 Returns the tab identifier.
146 \membersection{wxTabControl::GetLabel
}
148 \func{wxString
}{GetLabel
}{\void}
150 Returns the tab label.
152 \membersection{wxTabControl::GetRowPosition
}
154 \func{int
}{GetRowPosition
}{\void}
156 Returns the position of the tab in the layer or row.
158 \membersection{wxTabControl::GetSelected
}
160 \func{bool
}{GetSelected
}{\void}
162 Returns the selected flag.
164 \membersection{wxTabControl::GetWidth
}
166 \func{int
}{GetWidth
}{\void}
168 Returns the tab width.
170 \membersection{wxTabControl::GetX
}
172 \func{int
}{GetX
}{\void}
174 Returns the x offset from the top-left of the view area.
176 \membersection{wxTabControl::GetY
}
178 \func{int
}{GetY
}{\void}
180 Returns the y offset from the top-left of the view area.
182 \membersection{wxTabControl::HitTest
}
184 \func{bool
}{HitTest
}{\param{int
}{ x
},
\param{int
}{ y
}}
186 Returns TRUE if the point x, y is within the tab area.
188 \membersection{wxTabControl::OnDraw
}
190 \func{void
}{OnDraw
}{\param{wxDC\&
}{dc
},
\param{bool
}{ lastInRow
}}
192 Draws the tab control on the given device context.
194 \membersection{wxTabControl::SetColPosition
}
196 \func{void
}{SetColPosition
}{\param{int
}{ pos
}}
198 Sets the position in the column.
200 \membersection{wxTabControl::SetFont
}
202 \func{void
}{SetFont
}{\param{wxFont *
}{font
}}
204 Sets the font to be used for this tab.
206 \membersection{wxTabControl::SetId
}
208 \func{void
}{SetId
}{\param{int
}{ id
}}
210 Sets the tab identifier.
212 \membersection{wxTabControl::SetLabel
}
214 \func{void
}{SetLabel
}{\param{const wxString\&
}{str
}}
216 Sets the label for the tab.
218 \membersection{wxTabControl::SetPosition
}
220 \func{void
}{SetPosition
}{\param{int
}{ x
},
\param{int
}{ y
}}
222 Sets the x and y offsets for this tab, measured from the top-left of the view area.
224 \membersection{wxTabControl::SetRowPosition
}
226 \func{void
}{SetRowPosition
}{\param{int
}{ pos
}}
228 Sets the position on the layer (row).
230 \membersection{wxTabControl::SetSelected
}
232 \func{void
}{SetSelected
}{\param{bool
}{selected
}}
234 Sets the selection flag for this tab (does not set the current tab for the view;
235 use wxTabView::SetSelectedTab for that).
237 \membersection{wxTabControl::SetSize
}
239 \func{void
}{SetSize
}{\param{int
}{ width
},
\param{int
}{ height
}}
241 Sets the width and height for this tab.