aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs/doc/src/inofficial_options
blob: e3fa222943ca2d53a927ed47979f70f4cd3c1970 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
The following options should be used with extreme care since they will
most likely be removed or changed in a future release.

Object       Options
----------------------------------------------------------------------------
Window       highlightbw,highlightbg
Button       disabledfg,activebg,activefg,highlightbw,highlightfg,
Entry        highlightbg,highlightbw,highlightfg,
             selectbg,selectfg,insertbg
Label        highlightbg,highlightbw,highlightfg,
Listbox      highlightbg,highlightbw,highlightfg,
             selectbg,selectbw,selectfg,activebg,scrollbg,scrollfg
Canvas       activebg,highlightbg,highlightbw,highlightfg,
             selectbg,selectbw,selectfg
CanvasObj    {stipple, Bool} fills object with gray bitmap pattern.
             Will be changed or removed.
Image        {load_gif, Filename},{save_gif,Filename},
             Config: {pix_val,{{X,Y},Color}}|{pix_val,{{{X1,Y1},{X2,Y2}},Color}
             Read: {pix_val, {X,Y}} -> Color
Scale        activebghighlightbg,highlightbw,highlightfg
Menubar      highlightbg,highlightbw,highlightfg
Menubutton   activebg/fg,disabledfg,highlightbg,highlightbw,highlightfg,
Menu         activebg/fg/bw,disabledfg
Menuitem     activefg/bg, {accelerator, TkKbdString} syntax will change.
Editor       activebg,highlightbg,highlightbw,highlightfg
             selectbg,selectbw,selectfg,insertbw,insertbg

======================================================================
Description of the meaning of the options
-----------------------------------------

{anchor, n|w|s|e|nw|se|ne|sw|center}:
Where {X,Y} refers to. Default is nw. Applies to all objects that can
have a frame as parent.

{activebg/fg, Color}:
Specifies (foreground-) background color to use when drawing active
elements. An element (a widget or portion of a widget) is active if
the mouse cursor is positioned over the element and pressing a mouse
button will cause some action to occur.

{disabledfg/bg,Color}:
The color of the object when 'enable' option is false.

{highlightbg, Color}:
Specifies the color to display in the traversal highlight region when
the widget does not have the input focus.

{highlightbw,Npixels}:
The width of the highlight rectangle to draw around the outside of the
widget when it has the input focus.

{highlightfg,Color}:
Specifies the color to display in the traversal highlight region when
the widget does not have the input focus.

{insertbg,Color}:
Specifies the color to use as background in the area covered by the
insertion cursor.

{selectbg/fg,Color}: 
Appearance of selected text.

{insertbg,Color}:
Color of insertion cursor.