| ★ wanayoo — archive 1999 http://www.python.org/doc/life-preserver/OptionTypes.html | Nouvelle recherche | Portail wanayoo |
"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". See page 164 of Ousterhout's
book for details.
"yes" or
"no"
"#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.
"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. Ex: 3.5 inches is
expressed as "3.5i".
"-*-times-*-r-*-*-*-90-*-*-*-*-*-*". The xfontsel
program for X windows can be handy in browsing and selecting fonts.
See page 162-163 of Ousterhout's book for details.
"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", "ridge".
set() method of some
scrollbar Tkinter widget, but can be any widget method that takes a
single argument. See example files for canvas-with-scrollbars.py for
details.
"none", "char" or
"word".