SYNPOSIS
package require macdrawer
macdrawer::drawer parent?
macdrawer::closedrawer parent?
macdrawer::toggle parent?
DESCRIPTION
This package implements Mac-native "drawer" windows for Tk. "Drawer"
windows are windows are attached to the side of a toplevel window, and
whose visibility can be toggled with a button.
Drawers contain frequently accessed controls that do not need to
be visible at all times.
LIMITATIONS
Some experimenting with window layout may be necessary to achieve a
visually pleasing appearance with a drawer. Also, because of some dif-
ferences in how the Mac/Cocoa frameworks implement the drawer effect
and in Tk window geometry, the drawer does not "slide out" from the
parent window; it simply appears. Also, while a fully-native implemen-
tation allows a drawer to be attached to any side of a toplevel window,
the macdrawer package attaches the drawer to the left-hand side of the
window only.
EXAMPLE
See "demo.tcl" in the source code package for an example implementation
and sample code.
KEYWORDS
drawer, Mac, Cocoa
macdrawer(10 February 2010)
Man(1) output converted with
man2html