X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaaa6a06a25774c18d10bb8182cc1934ed0ed9aa..2cfbeac8141db28d9a022cdf92c12f82631a3c82:/docs/latex/wx/tabctrl.tex diff --git a/docs/latex/wx/tabctrl.tex b/docs/latex/wx/tabctrl.tex index 3e93a57945..b5dd16b227 100644 --- a/docs/latex/wx/tabctrl.tex +++ b/docs/latex/wx/tabctrl.tex @@ -9,13 +9,18 @@ This class represents a tab control, which manages multiple tabs. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} -\helpref{wxTabEvent}{wxtabevent}, \helpref{wxImageList}{wximagelist} +\helpref{wxTabEvent}{wxtabevent}, \helpref{wxImageList}{wximagelist},\rtfsp +\helpref{wxNotebook}{wxnotebook} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxTabCtrl::wxTabCtrl}\label{wxtabctrlconstr} +\membersection{wxTabCtrl::wxTabCtrl}\label{wxtabctrlctor} \func{}{wxTabCtrl}{\void} @@ -39,7 +44,7 @@ Constructs a tab control. \docparam{style}{The window style. Its value is a bit list of zero or more of {\bf wxTC\_MULTILINE}, {\bf wxTC\_RIGHTJUSTIFY}, {\bf wxTC\_FIXEDWIDTH} and {\bf wxTC\_OWNERDRAW}.} -\membersection{wxTabCtrl::\destruct{wxTabCtrl}} +\membersection{wxTabCtrl::\destruct{wxTabCtrl}}\label{wxtabctrldtor} \func{}{\destruct{wxTabCtrl}}{\void} @@ -50,7 +55,7 @@ Destroys the wxTabCtrl object. \func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size}, \param{long}{ style = 0}, \param{const wxString\& }{name = "tabCtrl"}} -Creates a tab control. See \helpref{wxTabCtrl::wxTabCtrl}{wxtabctrlconstr} for a description +Creates a tab control. See \helpref{wxTabCtrl::wxTabCtrl}{wxtabctrlctor} for a description of the parameters. \membersection{wxTabCtrl::DeleteAllItems}\label{wxtabctrldeleteallitems} @@ -65,6 +70,12 @@ Deletes all tab items. Deletes the specified tab item. +\membersection{wxTabCtrl::GetCurFocus}\label{wxtabctrlgetcurfocus} + +\constfunc{int}{GetCurFocus}{\void} + +Returns the index for the tab with the focus, or -1 if none has the focus. + \membersection{wxTabCtrl::GetImageList}\label{wxtabctrlgetimagelist} \constfunc{wxImageList*}{GetImageList}{\void} @@ -111,7 +122,7 @@ Returns the string for the given tab. \membersection{wxTabCtrl::GetRowCount}\label{wxtabctrlgetrowcount} -\constfunc{bool}{GetRowCount}{\void} +\constfunc{int}{GetRowCount}{\void} Returns the number of rows in the tab control. @@ -169,7 +180,7 @@ Inserts a new tab. \wxheading{Return value} -TRUE if successful, FALSE otherwise. +true if successful, false otherwise. \membersection{wxTabCtrl::SetItemData}\label{wxtabctrlsetitemdata} @@ -182,7 +193,7 @@ Sets the client data for a tab. \func{bool}{SetItemImage}{\param{int}{ item}, \param{int }{image}} Sets the image index for the given tab. {\it image} is an index into -the image list which was set with \helpref{wxTabCtrl::SetImageList}{setimagelist}. +the image list which was set with \helpref{wxTabCtrl::SetImageList}{wxtabctrlsetimagelist}. \membersection{wxTabCtrl::SetImageList}\label{wxtabctrlsetimagelist}