Add page highlighting to wxRibbonBar.
Allow visually highlighting a page to make it more noticeable to the user. Closes #14527. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -284,6 +284,35 @@ public:
|
||||
*/
|
||||
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.
|
||||
|
||||
|
Reference in New Issue
Block a user