1 \section{\class{wxTabCtrl
}}\label{wxtabctrl
}
3 This class represents a tab control, which manages multiple tabs.
5 \wxheading{Derived from
}
7 \helpref{wxControl
}{wxcontrol
}\\
8 \helpref{wxWindow
}{wxwindow
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
12 \latexignore{\rtfignore{\wxheading{Members
}}}
14 \membersection{wxTabCtrl::wxTabCtrl
}\label{wxtabctrlconstr
}
16 \func{}{wxTabCtrl
}{\void}
20 \func{}{wxTabCtrl
}{\param{wxWindow*
}{ parent
},
\param{const wxWindowID
}{id
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
21 \param{const wxSize\&
}{ size
},
\param{const long
}{ style =
0},
\param{const wxString\&
}{name = "tabCtrl"
}}
23 Constructs a tab control.
25 \wxheading{Parameters
}
27 \docparam{parent
}{The parent window. Must be non-NULL.
}
29 \docparam{id
}{The window identifier.
}
31 \docparam{pos
}{The window position.
}
33 \docparam{size
}{The window size.
}
35 \docparam{style
}{The window style. Its value is a bit list of zero or more of
{\bf wxTC
\_MULTILINE},
36 {\bf wxTC
\_RIGHTJUSTIFY},
{\bf wxTC
\_FIXEDWIDTH} and
{\bf wxTC
\_OWNERDRAW}.
}
38 \membersection{wxTabCtrl::
\destruct{wxTabCtrl
}}
40 \func{}{\destruct{wxTabCtrl
}}{\void}
42 Destroys the wxTabCtrl object.
44 \membersection{wxTabCtrl::Create
}\label{wxtabctrlcreate
}
46 \func{bool
}{Create
}{\param{wxWindow*
}{ parent
},
\param{const wxWindowID
}{id
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
47 \param{const wxSize\&
}{ size
},
\param{const long
}{ style =
0},
\param{const wxString\&
}{name = "tabCtrl"
}}
49 Creates a tab control. See
\helpref{wxTabCtrl::wxTabCtrl
}{wxtabctrlconstr
} for a description
52 \membersection{wxTabCtrl::GetImageList
}\label{wxtabctrlgetimagelist
}
54 \constfunc{wxImageList*
}{GetImageList
}{\void}
56 Returns the associated image list.
60 \helpref{wxImageList
}{wximagelist
},
\helpref{wxTabCtrl::SetImageList
}{wxtabctrlsetimagelist
}
62 \membersection{wxTabCtrl::GetItemCount
}\label{wxtabctrlgetitemcount
}
64 \constfunc{int
}{GetItemCount
}{\void}
66 Returns the number of tabs in the tab control.
68 \membersection{wxTabCtrl::GetItemRect
}\label{wxtabctrlgetitemrect
}
70 \constfunc{bool
}{GetItemRect
}{\param{const int item
},
\param{wxRect\&
}{ rect
}}
72 Returns the rectangle bounding the given tab.
76 \helpref{wxRect
}{wxrect
}
78 \membersection{wxTabCtrl::GetRowCount
}\label{wxtabctrlgetrowcount
}
80 \constfunc{bool
}{GetRowCount
}{\void}
82 Returns the number of rows in the tab control.
84 \membersection{wxTabCtrl::GetSelection
}\label{wxtabctrlgetselection
}
86 \constfunc{int
}{GetSelection
}{\void}
88 Returns the index for the currently selected tab.
92 \helpref{wxTabCtrl::SetSelection
}{wxtabctrlsetselection
}