"n"
,
"ne"
, "e"
, "se"
, "s"
,
"sw"
, "w"
, "nw"
, and also
"center"
.
'error'
, 'gray25'
,
'gray50'
, 'hourglass'
, 'info'
, 'questhead'
,
'question'
, 'warning'
. To specify an X bitmap
filename, give the full path to the file, preceded with an @
,
as in "@/usr/contrib/bitmap/gumby.bit"
.
"yes"
or "no"
.
def print_it(): print "hi there" fred["command"] = print_it
"#RGB"
, 8
bit: "#RRGGBB"
, 12 bit" "#RRRGGGBBB"
, or 16 bit
"#RRRRGGGGBBBB"
ranges, where R,G,B here represent any
legal hex digit. See page 160 of Ousterhout's book for details.
XC_
prefix. For example to get a hand cursor
(XC_hand2), use the string "hand2"
. You can also
specify a bitmap and mask file of your own. See page 179 of
Ousterhout's book.
c
for centimeters, i
for inches, m
for millimeters,
p
for printer's points. For example, 3.5 inches is expressed
as "3.5i"
.
{courier 10 bold}
.
Font sizes with positive numbers are measured in points;
sizes with negative numbers are measured in pixels.
fred["geometry"] = "200x100"
.
"left"
,
"center"
, "right"
, and "fill"
.
"2 3 4
5"
and "3i 2i 4.5i 2i"
and "3c 2c 4c 10.43c"
are all legal regions.
"raised"
, "sunken"
,
"flat"
, "groove"
, and "ridge"
.
"none"
, "char"
, or "word"
.
See About this document... for information on suggesting changes.