The Mactoolbar Package

The mactoolbar package is designed to emulate the standard Cocoa toolbar provided on OS X. On the Mac, toolbars behave a bit differently than they do on Windows or X11; rather than having the entire button darken when pressed, only the image and/or text darkens, and the toolbar itself can be hidden or made visible with a button-click. As such, the usual Tk approach to toolbars (arranging Tk or Tile buttons in a frame) requires a bit of customization. The mactoolbar package uses a Tile frame, labels, and bindings to implement a Cocoa-style toolbar.

Commands

The mactoolbar package is called by the invocation package require mactoolbar, and defines several commands:

Using the Mactoolbar Package

License

The mactoolbar 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

Mactoolbar

SourceForge.net Logo

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