Remove depreciated wxTabCtrl and wxTabEvent API from docs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
66d2fa18ee
commit
f05074ad60
@ -99,7 +99,6 @@ that are not static can have \helpref{validators}{wxvalidator} associated with t
|
||||
\twocolitem{\helpref{wxListBox}{wxlistbox}}{A list of strings for single or multiple selection}
|
||||
\twocolitem{\helpref{wxListCtrl}{wxlistctrl}}{A control for displaying lists of strings and/or icons, plus a multicolumn report view}
|
||||
\twocolitem{\helpref{wxListView}{wxlistview}}{A simpler interface ({\it fa\c{c}ade} for wxListCtrl in report mode}
|
||||
\twocolitem{\helpref{wxTabCtrl}{wxtabctrl}}{Manages several tabs}
|
||||
\twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multiline text editing control}
|
||||
\twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierarchy) control}
|
||||
\twocolitem{\helpref{wxScrollBar}{wxscrollbar}}{Scrollbar control}
|
||||
@ -247,7 +246,6 @@ An event object contains information about a specific event. Event handlers
|
||||
\twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
|
||||
\twocolitem{\helpref{wxSpinEvent}{wxspinevent}}{An event from \helpref{wxSpinButton}{wxspinbutton}}
|
||||
\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event}
|
||||
\twocolitem{\helpref{wxTabEvent}{wxtabevent}}{A tab control event}
|
||||
\twocolitem{\helpref{wxTimerEvent}{wxtimerevent}}{A timer expiration event}
|
||||
\twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{A tree control event}
|
||||
\twocolitem{\helpref{wxUpdateUIEvent}{wxupdateuievent}}{A user interface update event}
|
||||
|
@ -317,8 +317,6 @@
|
||||
\input sysclevt.tex
|
||||
\input sysopt.tex
|
||||
\input settings.tex
|
||||
\input tabctrl.tex
|
||||
\input tabevent.tex
|
||||
\input taskbar.tex
|
||||
\input tcpclint.tex
|
||||
\input tcpconn.tex
|
||||
|
@ -75,7 +75,6 @@ and the above code will therefore work on all platforms.
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxNotebookEvent}{wxnotebookevent}, \helpref{wxImageList}{wximagelist},\rtfsp
|
||||
\helpref{wxTabCtrl}{wxtabctrl}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
@ -31,7 +31,7 @@ unnecessary to process both events at once.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxNotebook}{wxnotebook}, \helpref{wxTabCtrl}{wxtabctrl}, \helpref{wxTabEvent}{wxtabevent}
|
||||
\helpref{wxNotebook}{wxnotebook}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
@ -1,237 +0,0 @@
|
||||
\section{\class{wxTabCtrl}}\label{wxtabctrl}
|
||||
|
||||
This class represents a tab control, which manages multiple tabs.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxControl}{wxcontrol}\\
|
||||
\helpref{wxWindow}{wxwindow}\\
|
||||
\helpref{wxEvtHandler}{wxevthandler}\\
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/tabctrl.h>
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxTabEvent}{wxtabevent}, \helpref{wxImageList}{wximagelist},\rtfsp
|
||||
\helpref{wxNotebook}{wxnotebook}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxTabCtrl::wxTabCtrl}\label{wxtabctrlctor}
|
||||
|
||||
\func{}{wxTabCtrl}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
\func{}{wxTabCtrl}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
|
||||
\param{const wxSize\&}{ size}, \param{long}{ style = 0}, \param{const wxString\& }{name = "tabCtrl"}}
|
||||
|
||||
Constructs a tab control.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{parent}{The parent window. Must be non-NULL.}
|
||||
|
||||
\docparam{id}{The window identifier.}
|
||||
|
||||
\docparam{pos}{The window position.}
|
||||
|
||||
\docparam{size}{The window size.}
|
||||
|
||||
\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}}\label{wxtabctrldtor}
|
||||
|
||||
\func{}{\destruct{wxTabCtrl}}{\void}
|
||||
|
||||
Destroys the wxTabCtrl object.
|
||||
|
||||
\membersection{wxTabCtrl::Create}\label{wxtabctrlcreate}
|
||||
|
||||
\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}{wxtabctrlctor} for a description
|
||||
of the parameters.
|
||||
|
||||
\membersection{wxTabCtrl::DeleteAllItems}\label{wxtabctrldeleteallitems}
|
||||
|
||||
\func{bool}{DeleteAllItems}{\void}
|
||||
|
||||
Deletes all tab items.
|
||||
|
||||
\membersection{wxTabCtrl::DeleteItem}\label{wxtabctrldeleteitem}
|
||||
|
||||
\func{bool}{DeleteItem}{\param{int}{ item}}
|
||||
|
||||
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}
|
||||
|
||||
Returns the associated image list.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxImageList}{wximagelist}, \helpref{wxTabCtrl::SetImageList}{wxtabctrlsetimagelist}
|
||||
|
||||
\membersection{wxTabCtrl::GetItemCount}\label{wxtabctrlgetitemcount}
|
||||
|
||||
\constfunc{int}{GetItemCount}{\void}
|
||||
|
||||
Returns the number of tabs in the tab control.
|
||||
|
||||
\membersection{wxTabCtrl::GetItemData}\label{wxtabctrlgetitemdata}
|
||||
|
||||
\constfunc{void*}{GetItemData}{\void}
|
||||
|
||||
Returns the client data for the given tab.
|
||||
|
||||
\membersection{wxTabCtrl::GetItemImage}\label{wxtabctrlgetitemimage}
|
||||
|
||||
\constfunc{int}{GetItemImage}{\void}
|
||||
|
||||
Returns the image index for the given tab.
|
||||
|
||||
\membersection{wxTabCtrl::GetItemRect}\label{wxtabctrlgetitemrect}
|
||||
|
||||
\constfunc{bool}{GetItemRect}{\param{int }{item}, \param{wxRect\&}{ rect}}
|
||||
|
||||
Returns the rectangle bounding the given tab.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxRect}{wxrect}
|
||||
|
||||
\membersection{wxTabCtrl::GetItemText}\label{wxtabctrlgetitemtext}
|
||||
|
||||
\constfunc{wxString}{GetItemText}{\void}
|
||||
|
||||
Returns the string for the given tab.
|
||||
|
||||
\membersection{wxTabCtrl::GetRowCount}\label{wxtabctrlgetrowcount}
|
||||
|
||||
\constfunc{int}{GetRowCount}{\void}
|
||||
|
||||
Returns the number of rows in the tab control.
|
||||
|
||||
\membersection{wxTabCtrl::GetSelection}\label{wxtabctrlgetselection}
|
||||
|
||||
\constfunc{int}{GetSelection}{\void}
|
||||
|
||||
Returns the index for the currently selected tab.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxTabCtrl::SetSelection}{wxtabctrlsetselection}
|
||||
|
||||
\membersection{wxTabCtrl::HitTest}\label{wxtabctrlhittest}
|
||||
|
||||
\func{int}{HitTest}{\param{const wxPoint\&}{ pt}, \param{long\&}{ flags}}
|
||||
|
||||
Tests whether a tab is at the specified position.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{pt}{Specifies the point for the hit test.}
|
||||
|
||||
\docparam{flags}{Return value for detailed information. One of the following values:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf wxTAB\_HITTEST\_NOWHERE}}{There was no tab under this point.}
|
||||
\twocolitem{{\bf wxTAB\_HITTEST\_ONICON}}{The point was over an icon.}
|
||||
\twocolitem{{\bf wxTAB\_HITTEST\_ONLABEL}}{The point was over a label.}
|
||||
\twocolitem{{\bf wxTAB\_HITTEST\_ONITEM}}{The point was over an item, but not on the label or icon.}
|
||||
\end{twocollist}
|
||||
}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns the zero-based tab index or -1 if no tab is at the specified position.
|
||||
|
||||
\membersection{wxTabCtrl::InsertItem}\label{wxtabctrlinsertitem}
|
||||
|
||||
\func{void}{InsertItem}{\param{int}{ item}, \param{const wxString\&}{ text}, \param{int }{imageId = -1},
|
||||
\param{void*}{ clientData = NULL}}
|
||||
|
||||
Inserts a new tab.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{item}{Specifies the index for the new item.}
|
||||
|
||||
\docparam{text}{Specifies the text for the new item.}
|
||||
|
||||
\docparam{imageId}{Specifies the optional image index for the new item.}
|
||||
|
||||
\docparam{clientData}{Specifies the optional client data for the new item.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
true if successful, false otherwise.
|
||||
|
||||
\membersection{wxTabCtrl::SetItemData}\label{wxtabctrlsetitemdata}
|
||||
|
||||
\func{bool}{SetItemData}{\param{int}{ item}, \param{void*}{ data}}
|
||||
|
||||
Sets the client data for a tab.
|
||||
|
||||
\membersection{wxTabCtrl::SetItemImage}\label{wxtabctrlsetitemimage}
|
||||
|
||||
\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}{wxtabctrlsetimagelist}.
|
||||
|
||||
\membersection{wxTabCtrl::SetImageList}\label{wxtabctrlsetimagelist}
|
||||
|
||||
\func{void}{SetImageList}{\param{wxImageList*}{ imageList}}
|
||||
|
||||
Sets the image list for the tab control.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxImageList}{wximagelist}
|
||||
|
||||
\membersection{wxTabCtrl::SetItemSize}\label{wxtabctrlsetitemsize}
|
||||
|
||||
\func{void}{SetItemSize}{\param{const wxSize\&}{ size}}
|
||||
|
||||
Sets the width and height of the tabs.
|
||||
|
||||
\membersection{wxTabCtrl::SetItemText}\label{wxtabctrlsetitemtext}
|
||||
|
||||
\func{bool}{SetItemText}{\param{int}{ item}, \param{const wxString\& }{text}}
|
||||
|
||||
Sets the text for the given tab.
|
||||
|
||||
\membersection{wxTabCtrl::SetPadding}\label{wxtabctrlsetpadding}
|
||||
|
||||
\func{void}{SetPadding}{\param{const wxSize\&}{ padding}}
|
||||
|
||||
Sets the amount of space around each tab's icon and label.
|
||||
|
||||
\membersection{wxTabCtrl::SetSelection}\label{wxtabctrlsetselection}
|
||||
|
||||
\func{int}{SetSelection}{\param{int}{ item}}
|
||||
|
||||
Sets the selection for the given tab, returning the index of the previously
|
||||
selected tab. Returns -1 if the call was unsuccessful.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxTabCtrl::GetSelection}{wxtabctrlgetselection}
|
||||
|
||||
|
@ -1,41 +0,0 @@
|
||||
\section{\class{wxTabEvent}}\label{wxtabevent}
|
||||
|
||||
This class represents the events generated by a tab control.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxCommandEvent}{wxcommandevent}\\
|
||||
\helpref{wxEvent}{wxevent}\\
|
||||
\helpref{wxEvtHandler}{wxevthandler}\\
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/tabctrl.h>
|
||||
|
||||
\wxheading{Event table macros}
|
||||
|
||||
To process a tab event, use these event handler macros to direct input to member
|
||||
functions that take a wxTabEvent argument.
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf EVT\_TAB\_SEL\_CHANGED(id, func)}}{Process a wxEVT\_TAB\_SEL\_CHANGED event, indicating that
|
||||
the tab selection has changed.}
|
||||
\twocolitem{{\bf EVT\_TAB\_SEL\_CHANGING(id, func)}}{Process a wxEVT\_TAB\_SEL\_CHANGING event, indicating that
|
||||
the tab selection is changing.}
|
||||
\end{twocollist}%
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxTabCtrl}{wxtabctrl}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxTabEvent::wxTabEvent}\label{wxtabeventconstr}
|
||||
|
||||
\func{}{wxTabEvent}{\param{WXTYPE}{ commandType = 0}, \param{int}{ id = 0}}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user