LTK - a Lisp binding to the Tk toolkit - Peter Herth
LTK - a Lisp binding to the Tk toolkit - Peter Herth
LTK - a Lisp binding to the Tk toolkit - Peter Herth
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.10 Menubut<strong>to</strong>n<br />
The following keyword arguments are available for creating an instance of<br />
<strong>the</strong> menubut<strong>to</strong>n and for configuring it<br />
activebackground background of <strong>the</strong> active area<br />
activeforeground foreground color for active widgets (when <strong>the</strong> mouse<br />
cursor is over <strong>the</strong> widget)<br />
anchor specify <strong>the</strong> alignment of text/image drawn on <strong>the</strong> widget, one of (:n<br />
:w :s :e :nw :sw :se :ne) with :nw designating <strong>the</strong> <strong>to</strong>p left corner<br />
background background color of <strong>the</strong> widget<br />
bitmap <strong>the</strong> bitmap <strong>to</strong> display on <strong>the</strong> widget, <strong>the</strong> display is affected by <strong>the</strong><br />
options ’anchor’ and ’justify’<br />
borderwidth width of <strong>the</strong> border around <strong>the</strong> widget in pixels<br />
compound<br />
cursor mouse pointer <strong>to</strong> display on <strong>the</strong> widget (valid values are listed in<br />
*cursors*)<br />
direction<br />
disabledforeground<br />
font font <strong>to</strong> use <strong>to</strong> display text on <strong>the</strong> widget<br />
foreground foreground color of <strong>the</strong> widget<br />
height height of <strong>the</strong> widget<br />
highlightbackground<br />
highlightcolor<br />
highlightthickness<br />
image <strong>the</strong> image <strong>to</strong> display on <strong>the</strong> widget, <strong>the</strong> display is affected by <strong>the</strong><br />
options ’anchor’ and ’justify’<br />
38