#14820: Ribbon button bar can now optionally show tooltips for disabled items as well

12 views
Skip to first unread message

wxTrac

unread,
Nov 12, 2012, 12:13:33 PM11/12/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14820>

#14820: Ribbon button bar can now optionally show tooltips for disabled items as
well
-------------------------+--------------------------------------------------
Reporter: wxBen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: GUI-all | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------
By default the ribbon bar does not show tooltips for disabled buttons.
However, many applications like Excel show tooltips for disabled items,
because the user may want to know what the item is supposed to do, and
sometimes the user may want to use a button and want to know why it is
disabled and they cannot use it.

The code change adds a boolean flag to optionally turn on tooltips for
disabled buttons.

The ribbonbar demo does not demonstrate this, because it is a fairly small
nitpicky minor detailed non mainstream feature.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14820>

wxTrac

unread,
Nov 13, 2012, 7:16:18 PM11/13/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14820#comment:1>

#14820: Ribbon button bar can now optionally show tooltips for disabled items as
well
--------------------------+-------------------------------------------------
Reporter: wxBen | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: GUI-all | Version: 2.9-svn
Resolution: fixed | Keywords:
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------
Changes (by VZ):

* status: new => closed
* resolution: => fixed


Comment:

(In [72950]) Optionally allow showing tooltips for disabled ribbon
buttons.

Add wxRibbonButtonBar::SetShowToolTipsForDisabled() to allow enabling the
tooltips even for the disabled buttons.

Closes #14820.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14820#comment:1>
Reply all
Reply to author
Forward
0 new messages