From c65fdfb3e34e518ebd040f9bae03fa87640679d7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 4 Apr 2014 15:28:42 +0000 Subject: [PATCH] Document wxRibbonDisplayMode enum. See #16133. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/ribbon/bar.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/interface/wx/ribbon/bar.h b/interface/wx/ribbon/bar.h index e8d9ef3c48..c729347ab1 100644 --- a/interface/wx/ribbon/bar.h +++ b/interface/wx/ribbon/bar.h @@ -5,6 +5,36 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// + +/** + The possible display modes of the panel area of a wxRibbonBar widget. + + @see wxRibbonBar::ShowPanels() + @see wxRibbonBar::GetDisplayMode() + + @since 2.9.5 +*/ +enum wxRibbonDisplayMode +{ + /** + The panel area is visible and pinned: it remains visible when the + ribbon bar loses the focus. + */ + wxRIBBON_BAR_PINNED, + + /** + The panel area is hidden: only the pages tabs remain visible. + */ + wxRIBBON_BAR_MINIMIZED, + + /** + The panel area is visible, but not pinned: it minimizes as soon as the + focus is lost. + */ + wxRIBBON_BAR_EXPANDED +}; + + /** @class wxRibbonBarEvent