The Aquahig package

The aquahig package implements some Mac OS X-specific configurations to selected Tk megawidgets to make them better fit in visually with Mac interface conventions, similar to iTunes and other Mac applications. Currently supported widgets are the BWidgets Tree, the BWidgets ListBox, and Tablelist.

Here is iTunes, which reflects many modern Mac interface conventions...

...and those conventions as implemented in a Tk application by the aquahig package.

Using the Aquahig Package

The aquahig package is invoked by calling package require aquahig. It implements Mac styling for widgets in the form of arrays:

Usage of the package would look something like this:

foreach {key value} [array get aquahig::treeopts] {
$w configure -$key $value
}

Note: the aquahig package depends on the TkImg or TkPNG packages, as the Mac-style disclosure triangles are pngs. To use another image format, such as .gif, you will need to edit the source code accordingly.

License

The aquahig package is licensed under the same license as Tcl/Tk itself. See http://www.tcl.tk/software/tcltk/license.html for the current license.

Download

Aquahig

SourceForge.net Logo

Copyright (C) 2007 Kevin Walzer. All rights reserved. All trademarks are the properties of their respective holders.