Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ANN: tkdock for OS X
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin Walzer  
View profile  
 More options Feb 17 2009, 9:06 pm
Newsgroups: comp.lang.tcl
From: Kevin Walzer <k...@codebykevin.com>
Date: Tue, 17 Feb 2009 21:06:51 -0500
Local: Tues, Feb 17 2009 9:06 pm
Subject: ANN: tkdock for OS X
I'm pleased to announce the release of Tkdock 1.0.

The tkdock package is a small, Cocoa-based Tcl extension that allows a
Tcl/Tk application to change its icon on the OS X Dock while running.
This can be useful for indicating changes in application state, for
instance that the application is executing a long-running process,
connecting to a server, or similar activities.

Using the Tkdock Package

Tkdock is invoked by calling package require tkdock. It implements two
commands:

::tkdock::switchIcon /path/to/icon: This command switches the
application's Dock icon while the application is running, and takes a
path to an image as an argument. Any image format supported on Mac OS X
should work, but Apple's native "icns" icon format (at 128x128 pixels)
appears to provide the sharpest results.

::tkdock::origIcon: This command restores the original application icon.

Installing Tkdock

Because it calls into the Mac's native Cocoa frameworks, tkdock is a
binary extension (shipped as a .dylib). The universal binary package was
built against Tcl/Tk 8.5.3 on Mac OS X 10.5.6 and should run on both
Intel and PPC systems. The source code comes with a makefile if you want
to build the extension yourself. Tkdock is available under the standard
Tcl/Tk BSD-style license.

Tkdock can be downloaded at http://www.codebykevin.com/opensource/oss.html.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.