Tk Library Source Code

View Ticket
Login
Ticket UUID: 1641071
Title: Add alpha fading to tooltips
Type: Patch Version: None
Submitter: tallniel Created on: 2007-01-21 22:18:32
Subsystem: tklib :: tooltip Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-11-01 01:56:41
Resolution: Fixed Closed By: hobbs
    Closed on: 2007-10-31 18:47:38
Description:
This patch adds simple alpha-transparency fading to the tooltip package on platforms that support [wm attributes -alpha]. I find this adds a little bit of extra polish. Possibly might want an option to disable this behaviour.

PS - the tracker is missing a category for the tooltip package.

PPS - I find most changing the label to -bd 0 in tooltip::show looks "better" on Mac OS X/Aqua (i.e., looks more like the tooltips in native/Cocoa apps).
User Comments: andreas_kupries added on 2007-11-01 01:56:41:
Logged In: YES 
user_id=75003
Originator: NO

Fixed missing category and assigned.

hobbs added on 2007-11-01 01:47:38:
Logged In: YES 
user_id=72656
Originator: NO

I added an improved version that allows control of the fading and better handles the redisplay case.  In tooltip 1.4.

tallniel added on 2007-01-22 05:18:32:

File Added - 212402: tooltip-fade.patch

Attachments: