1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
|
\section{\class{wxTabbedDialog}}\label{wxtabbeddialog}
A dialog suitable for handling tabs.
Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
This class is retained for backward compatibility.
\wxheading{Derived from}
\helpref{wxDialog}{wxdialog}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/tab.h>
\wxheading{See also}
\helpref{Tab classes overview}{wxtaboverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxTabbedDialog::wxTabbedDialog}
\func{}{wxTabbedDialog}{\param{wxWindow *}{parent}, \param{wxWindowID }{id},
\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos}, \param{const wxSize\&}{ size},
\param{long}{ style=wxDEFAULT\_DIALOG\_STYLE}, \param{const wxString\& }{name="dialogBox"}}
Constructor.
\membersection{wxTabbedDialog::\destruct{wxTabbedDialog}}
\func{}{\destruct{wxTabbedDialog}}{\void}
Destructor. This destructor deletes the tab view associated with the dialog box.
If you do not wish this to happen, set the tab view to NULL before destruction (for example,
in the OnCloseWindow event handler).
\membersection{wxTabbedDialog::SetTabView}
\func{void}{SetTabView}{\param{wxTabView *}{view}}
Sets the tab view associated with the dialog box.
\membersection{wxTabbedDialog::GetTabView}
\func{wxTabView *}{GetTabView}{\void}
Returns the tab view associated with the dialog box.
\section{\class{wxTabbedPanel}}\label{wxtabbedpanel}
A panel suitable for handling tabs.
Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
This class is retained for backward compatibility.
\wxheading{Derived from}
\helpref{wxPanel}{wxpanel}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/tab.h>
\wxheading{See also}
\helpref{Tab classes overview}{wxtaboverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxTabbedPanel::wxTabbedPanel}
\func{}{wxTabbedPanel}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},
\param{const wxPoint\&}{ pos}, \param{const wxSize\&}{ size},
\param{long}{ style=0}, \param{const wxString\& }{name="panel"}}
Constructor.
\membersection{wxTabbedPanel::SetTabView}
\func{void}{SetTabView}{\param{wxTabView *}{view}}
Sets the tab view associated with the panel.
\membersection{wxTabbedPanel::GetTabView}
\func{wxTabView *}{GetTabView}{\void}
Returns the tab view associated with the panel.
\section{\class{wxTabControl}}\label{wxtabcontrol}
You will rarely need to use this class directly.
Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
This class is retained for backward compatibility.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/tab.h>
\wxheading{See also}
\overview{Tab classes overview}{wxtaboverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxTabControl::wxTabControl}
\func{void}{wxTabControl}{\param{wxTabView *}{view = NULL}}
Constructor.
\membersection{wxTabControl::GetColPosition}
\func{int}{GetColPosition}{\void}
Returns the position of the tab in the tab column.
\membersection{wxTabControl::GetFont}
\func{wxFont *}{GetFont}{\void}
Returns the font to be used for this tab.
\membersection{wxTabControl::GetHeight}
\func{int}{GetHeight}{\void}
Returns the tab height.
\membersection{wxTabControl::GetId}
\func{int}{GetId}{\void}
Returns the tab identifier.
\membersection{wxTabControl::GetLabel}
\func{wxString}{GetLabel}{\void}
Returns the tab label.
\membersection{wxTabControl::GetRowPosition}
\func{int}{GetRowPosition}{\void}
Returns the position of the tab in the layer or row.
\membersection{wxTabControl::GetSelected}
\func{bool}{GetSelected}{\void}
Returns the selected flag.
\membersection{wxTabControl::GetWidth}
\func{int}{GetWidth}{\void}
Returns the tab width.
\membersection{wxTabControl::GetX}
\func{int}{GetX}{\void}
Returns the x offset from the top-left of the view area.
\membersection{wxTabControl::GetY}
\func{int}{GetY}{\void}
Returns the y offset from the top-left of the view area.
\membersection{wxTabControl::HitTest}
\func{bool}{HitTest}{\param{int}{ x}, \param{int}{ y}}
Returns true if the point x, y is within the tab area.
\membersection{wxTabControl::OnDraw}
\func{void}{OnDraw}{\param{wxDC\& }{dc}, \param{bool}{ lastInRow}}
Draws the tab control on the given device context.
\membersection{wxTabControl::SetColPosition}
\func{void}{SetColPosition}{\param{int}{ pos}}
Sets the position in the column.
\membersection{wxTabControl::SetFont}
\func{void}{SetFont}{\param{wxFont *}{font}}
Sets the font to be used for this tab.
\membersection{wxTabControl::SetId}
\func{void}{SetId}{\param{int}{ id}}
Sets the tab identifier.
\membersection{wxTabControl::SetLabel}
\func{void}{SetLabel}{\param{const wxString\& }{str}}
Sets the label for the tab.
\membersection{wxTabControl::SetPosition}
\func{void}{SetPosition}{\param{int}{ x}, \param{int}{ y}}
Sets the x and y offsets for this tab, measured from the top-left of the view area.
\membersection{wxTabControl::SetRowPosition}
\func{void}{SetRowPosition}{\param{int}{ pos}}
Sets the position on the layer (row).
\membersection{wxTabControl::SetSelected}
\func{void}{SetSelected}{\param{bool }{selected}}
Sets the selection flag for this tab (does not set the current tab for the view;
use wxTabView::SetSelectedTab for that).
\membersection{wxTabControl::SetSize}
\func{void}{SetSize}{\param{int}{ width}, \param{int}{ height}}
Sets the width and height for this tab.
|