x.rst
changeset 400 fe31cd23bfe5
parent 399 87b5a0093153
child 845 0448cc4914f3
equal deleted inserted replaced
399:87b5a0093153 400:fe31cd23bfe5
    34   resource
    34   resource
    35                 The name of the resource whose value is to be changed.
    35                 The name of the resource whose value is to be changed.
    36                 Resources are typically lowercase with uppercase
    36                 Resources are typically lowercase with uppercase
    37                 concatenation.
    37                 concatenation.
    38   value
    38   value
    39                 The actual value of the resource. This can be 1 of 3 types:
    39                 The actual value of the resource.
    40                  * Integer (whole numbers).
       
    41                  * Boolean (true/false, yes/no, on/off).
       
    42                  * String, for example word (white), color (#ffffff), font
       
    43                    (-*-fixed-bold-r-*-*-*-100-*-*-*-*-iso8859-1 ) or path
       
    44                    (/usr/bin/firefox).
       
    45   delimiters
    40   delimiters
    46                 A period (.) is used to signify each step down into the
    41                 A period (.) is used to signify each step down into the
    47                 hierarchy. A colon (:) is used to separate the resource
    42                 hierarchy. A colon (:) is used to separate the resource
    48                 declaration from the actual value.
    43                 declaration from the actual value.
    49 
    44 
    65   XClock*foreground: pink
    60   XClock*foreground: pink
    66   Xman*topBox*foreground: blue
    61   Xman*topBox*foreground: blue
    67 
    62 
    68 ** Value types.
    63 ** Value types.
    69 
    64 
       
    65 *** String.
       
    66 
       
    67 This can be path specification like '/usr/bin/firefox'.
       
    68 
    70 *** Colors.
    69 *** Colors.
    71 
    70 
    72 For color names see '/usr/lib/X11/rgb.txt'.
    71 For color names see '/usr/lib/X11/rgb.txt'. Also you can use hex
       
    72 representation #ffffff.
    73 
    73 
    74 *** Font.
    74 *** Font.
    75 
    75 
    76 You can use either a full name, a wildcarded specification, or a font alias.
    76 You can use either a full name, a wildcarded specification, or a font alias.
    77 
    77