#14216: Adds wxAuiNoteBook tooltips on page title

16 views
Skip to first unread message

wxTrac

unread,
Apr 13, 2012, 5:31:15 AM4/13/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216>

#14216: Adds wxAuiNoteBook tooltips on page title
-------------------------+--------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------
Here is a patch to add support for SetPageToolTip/GetPageToolTip, actually
showing a tooltip when hovering the page title (useful for very long
titles)


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

wxTrac

unread,
Apr 13, 2012, 12:07:39 PM4/13/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:2>

#14216: Adds wxAuiNoteBook tooltips on page title
-------------------------+--------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------

Comment(by vadz):

Replying to [comment:1 Hanmac]:
> IMO the tooltip stuff should be implemented in the BookCtrlBase class

We'd need to implement it for at least a few more derived classes first.
It doesn't make sense to have a set of methods in a base class which are
only implemented in a single derived class.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:2>

wxTrac

unread,
Apr 13, 2012, 12:08:58 PM4/13/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:3>

#14216: Adds wxAuiNoteBook tooltips on page title
-------------------------+--------------------------------------------------
Reporter: aasselin | Owner:

Type: enhancement | Status: confirmed


Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn

Keywords: needs-docs | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------
Changes (by vadz):

* keywords: => needs-docs
* status: new => confirmed


Comment:

The patch looks good to me, thanks!

It would be nice to have an example of using the new functions in the
sample, if only to allow testing them easily before applying the patch.
And we need the docs for them too, of course, could you please add them?

TIA!


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:3>

wxTrac

unread,
Apr 13, 2012, 12:03:32 PM4/13/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:1>

#14216: Adds wxAuiNoteBook tooltips on page title
-------------------------+--------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------

Comment(by Hanmac):

IMO the tooltip stuff should be implemented in the BookCtrlBase class


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:1>

wxTrac

unread,
Apr 16, 2012, 5:19:55 AM4/16/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:4>

#14216: Adds wxAuiNoteBook tooltips on page title
-------------------------+--------------------------------------------------
Reporter: aasselin | Owner:

Type: enhancement | Status: confirmed


Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn

Keywords: needs-docs | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------

Comment(by aasselin):

here is doc and sample


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:4>

wxTrac

unread,
Apr 16, 2012, 8:12:28 AM4/16/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:5>

#14216: Adds wxAuiNoteBook tooltips on page title

--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed

Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn

Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------
Changes (by VZ):

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


Comment:

(In [71204]) Added support for page tooltips to wxAuiNotebook.

Allow setting tooltips for the tabs of the individual pages of
wxAuiNotebook.

Closes #14216.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:5>

wxTrac

unread,
May 26, 2012, 1:31:00 PM5/26/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:6>

#14216: Adds wxAuiNoteBook tooltips on page title
--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------

Comment(by ardi):

It doesn't work on OSX-Cocoa (2.9.3). I don't know why.

However, it works fine on MSW (2.9.3)

ardi


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:6>

wxTrac

unread,
May 26, 2012, 2:50:19 PM5/26/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:7>

#14216: Adds wxAuiNoteBook tooltips on page title
--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------

Comment(by aasselin):

strange, my build works, however i'm nearly on latest trunk version


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:7>

wxTrac

unread,
May 29, 2012, 4:46:02 AM5/29/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:8>

#14216: Adds wxAuiNoteBook tooltips on page title
--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------

Comment(by ardi):

Replying to [comment:7 aasselin]:

> strange, my build works, however i'm nearly on latest trunk version
>

It's a pity that the trunk doesn't support OSX 10.4. I'm patching 2.9.3 to
fix the bugs that affect me, so that I've a "nearly ideal" wxWidgets
version for building for OSX 10.4. However, I'm afraid some bugs are
beyond patching, like perhaps this one. Maybe I can tweak 2.9.4 to compile
on 10.4 when it's released (provided that I don't need the stuff that
needs to be cut for compiling).

Otherwise, I suppose I'm stuck with tabs without tooltips on OSX 10.4.

I'll use 2.9.4 and future versions for building for 10.5 and up, but I
also need to support 10.4... :-(

ardi


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:8>

wxTrac

unread,
May 29, 2012, 1:19:34 PM5/29/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:9>

#14216: Adds wxAuiNoteBook tooltips on page title
--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------

Comment(by vadz):

If you're ready to do the necessary work on keeping the trunk (until at
least 3.0) 10.4-compatible, I'm sure Stefan wouldn't object to it. The
problem is that he's unwilling to do it himself and I can hardly blame him
considering the number of other things he needs to do...


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:9>

wxTrac

unread,
May 29, 2012, 6:32:00 PM5/29/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14216#comment:10>

#14216: Adds wxAuiNoteBook tooltips on page title
--------------------------+-------------------------------------------------
Reporter: aasselin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: needs-docs
Blockedby: | Patch: 1
Blocking: |
--------------------------+-------------------------------------------------

Comment(by ardi):

Replying to [comment:9 vadz]:

> If you're ready to do the necessary work on keeping the trunk (until at
least 3.0) 10.4-compatible, I'm sure Stefan wouldn't object to it. The
problem is that he's unwilling to do it himself and I can hardly blame him
considering the number of other things he needs to do...

I can't promise, but I can try to back-port it to 10.4 at some point. Not
now because I first need to finish what I'm doing now, and it's likely
that I won't have the time to "maintain" it, but rather backport it from
time to time.

ardi


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