Added support for page tooltips to wxAuiNotebook.
Allow setting tooltips for the tabs of the individual pages of wxAuiNotebook. Closes #14216. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -219,6 +219,13 @@ public:
|
||||
*/
|
||||
wxString GetPageText(size_t page) const;
|
||||
|
||||
/**
|
||||
Returns the tooltip for the tab label of the page.
|
||||
|
||||
@since 2.9.4
|
||||
*/
|
||||
wxString GetPageToolTip(size_t pageIdx) const;
|
||||
|
||||
/**
|
||||
Returns the currently selected page.
|
||||
*/
|
||||
@@ -308,6 +315,17 @@ public:
|
||||
*/
|
||||
bool SetPageText(size_t page, const wxString& text);
|
||||
|
||||
/**
|
||||
Sets the tooltip displayed when hovering over the tab label of the page.
|
||||
|
||||
@return
|
||||
@true if tooltip was updated, @false if it failed, e.g. because the
|
||||
page index is invalid.
|
||||
|
||||
@since 2.9.4
|
||||
*/
|
||||
bool SetPageToolTip(size_t page, const wxString& text);
|
||||
|
||||
/**
|
||||
Sets the font for drawing selected tab labels.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user