+
+ /**
+ Returns the number for a given ribbon bar page.
+
+ The number can be used in other ribbon bar calls.
+
+ @since 2.9.5
+ */
+ int GetPageNumber(wxRibbonPage* page) const;
+
+ /**
+ Delete a single page from this ribbon bar.
+
+ The user must call wxRibbonBar::Realize() after one (or more) calls to
+ this function.
+
+ @since 2.9.4
+ */
+ void DeletePage(size_t n);
+
+ /**
+ Delete all pages from the ribbon bar.
+
+ @since 2.9.4
+ */
+ void ClearPages();
+
+ /**
+ Indicates whether the tab for the given page is shown to the user or
+ not.
+
+ By default all page tabs are shown.
+
+ @since 2.9.5
+ */
+ bool IsPageShown(size_t page) const;
+
+ /**
+ Show or hide the tab for a given page.
+
+ After showing or hiding a tab, you need to call wxRibbonBar::Realize().
+ If you hide the tab for the currently active page (GetActivePage) then
+ you should call SetActivePage to activate a different page.
+
+ @since 2.9.5
+ */
+ void ShowPage(size_t page, bool show_tab=true);
+
+ /**
+ Hides the tab for a given page.
+
+ Equivalent to @c ShowPage(page, false).
+
+ @since 2.9.5
+ */
+ void HidePage(size_t page);
+
+ /**
+ Indicates whether a tab is currently highlighted.
+
+ @see AddPageHighlight()
+
+ @since 2.9.5
+ */
+ bool IsPageHighlighted(size_t page) const;
+
+ /**
+ Highlight the specified tab.
+
+ Highlighted tabs have a colour between that of the active tab
+ and a tab over which the mouse is hovering. This can be used
+ to make a tab (usually temporarily) more noticeable to the user.
+
+ @since 2.9.5
+ */
+ void AddPageHighlight(size_t page, bool highlight = true);
+
+ /**
+ Changes a tab to not be highlighted.
+
+ @see AddPageHighlight()
+
+ @since 2.9.5
+ */
+ void RemovePageHighlight(size_t page);
+
+ /**
+ Shows or hides the panel area of the ribbon bar.
+
+ If the panel area is hidden, then only the tab of the ribbon bar will
+ be shown. This is useful for giving the user more screen space to work
+ with when he/she doesn't need to see the ribbon's options.
+
+ @since 2.9.2
+ */
+ void ShowPanels(bool show = true);
+
+ /**
+ Hides the panel area of the ribbon bar.
+
+ This method simply calls ShowPanels() with @false argument.
+
+ @since 2.9.2
+ */
+ void HidePanels();
+
+ /**
+ Indicates whether the panel area of the ribbon bar is shown.
+
+ @see ShowPanels()
+
+ @since 2.9.2
+ */
+ bool ArePanelsShown() const;