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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.3 Check-but<strong>to</strong>n<br />
The following keyword arguments are available for creating an instance of<br />
<strong>the</strong> check-but<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 />
command function <strong>to</strong> call when <strong>the</strong> action of <strong>the</strong> widget is executed<br />
compound<br />
cursor mouse pointer <strong>to</strong> display on <strong>the</strong> widget (valid values are listed in<br />
*cursors*)<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 />
26