X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3e016e45e2e64b6fbf1eecfdd07448044995b93..5814e8ba4e57839acd1eb7491ed392b07e382593:/docs/latex/wx/auinotebook.tex?ds=sidebyside diff --git a/docs/latex/wx/auinotebook.tex b/docs/latex/wx/auinotebook.tex index bfa0b37099..73a6be0624 100644 --- a/docs/latex/wx/auinotebook.tex +++ b/docs/latex/wx/auinotebook.tex @@ -81,6 +81,13 @@ Deletes a page at the given index. Calling this method will generate a page cha Returns the associated art provider. +\membersection{wxAuiNotebook::GetHeightForPageHeight}\label{wxauinotebookgetheightforpageheight} + +\func{int}{GetHeightForPageHeight}{\param{int }{pageHeight}} + +Returns the desired height of the notebook for the given page height. Use this to fit the notebook to +a given page size. + \membersection{wxAuiNotebook::GetPage}\label{wxauinotebookgetpage} \constfunc{wxWindow*}{GetPage}{\param{size\_t }{page\_idx}} @@ -103,7 +110,8 @@ Returns the number of pages in the notebook. \constfunc{int}{GetPageIndex}{\param{wxWindow* }{page\_wnd}} -Returns the page index for the specified window. If the window is not found in the notebook, wxNOT_FOUND is returned. +Returns the page index for the specified window. If the window is not found in +the notebook, wxNOT\_FOUND is returned. \membersection{wxAuiNotebook::GetPageText}\label{wxauinotebookgetpagetext} @@ -111,12 +119,24 @@ Returns the page index for the specified window. If the window is not found in Returns the tab label for the page. +\membersection{wxAuiNotebook::GetTabCtrlHeight}\label{wxauinotebookgettabctrlheight} + +\constfunc{int}{GetTabCtrlHeight}{\void} + +Returns the height of the tab control. + \membersection{wxAuiNotebook::GetSelection}\label{wxauinotebookgetselection} \constfunc{int}{GetSelection}{\void} Returns the currently selected page. +\membersection{wxAuiNotebook::GetTabCtrlHeight}\label{wxauinotebookgettabctrlheight} + +\constfunc{int}{GetTabCtrlHeight}{\void} + +Returns the height of the tab control. + \membersection{wxAuiNotebook::InsertPage}\label{wxauinotebookinsertpage} \func{bool}{InsertPage}{\param{size\_t }{page\_idx}, \param{wxWindow* }{page}, \param{const wxString\& }{caption}, \param{bool }{select = false}, \param{const wxBitmap\& }{bitmap = wxNullBitmap}} @@ -136,6 +156,30 @@ Removes a page, without deleting the window pointer. Sets the art provider to be used by the notebook. +\membersection{wxAuiNotebook::SetFont}\label{wxauinotebooksetfont} + +\func{bool}{SetFont}{\param{const wxFont\& }{font}} + +Sets the font for drawing the tab labels, using a bold version of the font for selected tab labels. + +\membersection{wxAuiNotebook::SetNormalFont}\label{wxauinotebooksetnormalfont} + +\func{void}{SetNormalFont}{\param{const wxFont\& }{font}} + +Sets the font for drawing unselected tab labels. + +\membersection{wxAuiNotebook::SetSelectedFont}\label{wxauinotebooksetselectedfont} + +\func{void}{SetSelectedFont}{\param{const wxFont\& }{font}} + +Sets the font for drawing selected tab labels. + +\membersection{wxAuiNotebook::SetMeasuringFont}\label{wxauinotebooksetmeasuringfont} + +\func{void}{SetMeasuringFont}{\param{const wxFont\& }{font}} + +Sets the font for measuring tab labels. + \membersection{wxAuiNotebook::SetPageBitmap}\label{wxauinotebooksetpagebitmap} \func{bool}{SetPageBitmap}{\param{size\_t }{page}, \param{const wxBitmap\& }{bitmap}} @@ -175,3 +219,14 @@ instruct the control to use dynamic tab height, which is the default behaviour. Under the default behaviour, when a tab with a large bitmap is added, the tab control's height will automatically increase to accommodate the larger bitmap. +\func{void}{Split}{\param{size\_t }{page}, \param{int }{direction}} + +Split performs a split operation programmatically. The argument \arg{page} indicates +the page that will be split off. This page will also become the active page after the +split. The \arg{direction} argument specifies where the pane should go, it should be one +of the following: wxTOP, wxBOTTOM, wxLEFT, or wxRIGHT. + + + + +