>
SSppeecciiffiieess tthhee ccoolloorr ffoorr tthhee ttiicckk mmaarrkkss.. TThhee ddeeffaauulltt ddeeppeennddss oonn wwhheetthheerr
_r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd.. IIff _r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd
tthhee ddeeffaauulltt iiss _l_w_h_i_t_e,, ootthheerrwwiissee tthhee ddeeffaauulltt iiss _b_l_a_c_k..
<>
<>
<>hhaannddss ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
SSppeecciiffiieess tthhee ccoolloorr ooff tthhee iinnssiiddeess ooff tthhee cclloocckk''ss hhaannddss.. TThhee ddeeffaauulltt
ddeeppeennddss oonn wwhheetthheerr
_r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd.. IIff _r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd
tthhee ddeeffaauulltt iiss _l_w_h_i_t_e,, ootthheerrwwiissee tthhee ddeeffaauulltt iiss _b_l_a_c_k..
NNoottee tthhaatt tthhiiss rreessoouurrccee iiss nnoott uusseedd wwhheenn XXrreennddeerr iiss iinn eeffffeecctt..
<>
<>hhiigghhlliigghhtt ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
SSppeecciiffiieess tthhee ccoolloorr uusseedd ttoo hhiigghhlliigghhtt tthhee cclloocckk''ss hhaannddss.. TThhee ddeeffaauulltt iiss
ddeeppeennddss oonn wwhheetthheerr
_r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd.. IIff _r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd
tthhee ddeeffaauulltt iiss _l_w_h_i_t_e,, ootthheerrwwiissee tthhee ddeeffaauulltt iiss _b_l_a_c_k..
NNoottee tthhaatt tthhiiss rreessoouurrccee iiss nnoott uusseedd wwhheenn XXrreennddeerr iiss iinn eeffffeecctt..
<>
<>aannaalloogg ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess wwhheetthheerr oorr nnoott aann aannaalloogg cclloocckk sshhoouulldd bbee uusseedd iinnsstteeaadd ooff aa ddiiggiittaall
oonnee.. TThhee ddeeffaauulltt iiss TTrruuee..
<>
<>ttwweennttyyffoouurr ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess wwhheetthheerr oorr nnoott aa ddiiggiittaall cclloocckk sshhoouulldd ddiissppllaayy tthhee ttiimmee iinn
ttwweennttyy--ffoouurr hhoouurr ffoorrmmaatt.. TThhee ddeeffaauulltt iiss TTrruuee..
<>
<>cchhiimmee ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess wwhheetthheerr oorr nnoott aa bbeellll sshhoouulldd bbee rruunngg oonn tthhee hhoouurr aanndd hhaallff hhoouurr..
<>
<>ppaaddddiinngg ((_c_l_a_s_s MMaarrggiinn))</bb>>
<>
SSppeecciiffiieess tthhee aammoouunntt ooff iinntteerrnnaall ppaaddddiinngg iinn ppiixxeellss ttoo bbee uusseedd.. TThhee ddeeffaauulltt iiss
88..
<>
<>ffoonntt ((_c_l_a_s_s FFoonntt))</bb>>
<>
SSppeecciiffiieess tthhee ffoonntt ttoo bbee uusseedd ffoorr tthhee ddiiggiittaall cclloocckk.. NNoottee tthhaatt vvaarriiaabbllee wwiiddtthh
ffoonnttss ccuurrrreennttllyy wwiillll nnoott aallwwaayyss ddiissppllaayy ccoorrrreeccttllyy..
TThhiiss ffoonntt iiss oonnllyy uusseedd wwhheenn XXrreennddeerr iiss nnoott iinn eeffffeecctt..
<>
<>rreennddeerr ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess wwhheetthheerr oorr nnoott tthhee XXrreennddeerr eexxtteennssiioonn sshhoouulldd bbee uusseedd ffoorr tthhee
ddiissppllaayy.. TThhee ddeeffaauulltt iiss TTrruuee iiff _x_c_l_o_c_k hhaass bbeeeenn ccoommppiilleedd wwiitthh
XXrreennddeerr ssuuppppoorrtt..
</ddll>>
<>
WWhheenn XXrreennddeerr iiss iinn eeffffeecctt,, tthhee ffoolllloowwiinngg aaddddiittiioonnaall rreessoouurrcceess aarree
uunnddeerrssttoooodd::
<
>
<>
<>
<>ffaaccee ((_c_l_a_s_s FFaacceeNNaammee))</bb>>
<>
SSppeecciiffyy tthhee ppaatttteerrnn ffoorr tthhee ffoonntt ttoo bbee uusseedd ffoorr tthhee ddiiggiittaall cclloocckk wwhheenn
XXrreennddeerr iiss uusseedd..
<>
<>sshhaarrpp ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess iiff sshhaarrpp eeddggeess sshhoouulldd bbee uusseedd wwhheenn rreennddeerriinngg tthhee cclloocckk..
TThhee ddeeffaauulltt iiss FFaallssee..
<>
<>bbuuffffeerr ((_c_l_a_s_s BBoooolleeaann))</bb>>
<>
SSppeecciiffiieess tthhaatt tthhee uuppddaatteess ooff tthhee iimmaaggee aarree ddrraawwnn ttoo aa ppiixxmmaapp bbeeffoorree ccooppiieedd
iinnttoo tthhee wwiinnddooww iinnsstteeaadd ddrraawwiinngg tthheemm iinnttoo tthhee wwiinnddooww ddiirreeccttllyy..
</ddll>>
<>
TThhee ddeeffaauullttss ooff tthhee ffoolllloowwiinngg ccoolloorr rreessoouurrcceess ddeeppeenndd oonn wwhheetthheerr
_r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd..
IIff _r_e_v_e_r_s_e_V_i_d_e_o iiss ssppeecciiffiieedd tthhee ddeeffaauulltt iiss _l_w_h_i_t_e,,
ootthheerrwwiissee tthhee ddeeffaauulltt iiss _b_l_a_c_k..
<>
<>
<>hhoouurrCCoolloorr ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
TThhee ccoolloorr ooff tthhee hhoouurr hhaanndd..
<>
<>mmiinnuutteeCCoolloorr ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
TThhee ccoolloorr ooff tthhee mmiinnuuttee hhaanndd..
<>
<>sseeccoonnddCCoolloorr ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
TThhee ccoolloorr ooff tthhee sseeccoonndd hhaanndd..
<>
<>mmaajjoorrCCoolloorr ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
TThhee ccoolloorr ooff tthhee mmaajjoorr ssccaallee ttiicckkss ((ii.. ee.. eeaacchh ffiivvee mmiinnuutteess))..
<>
<>mmiinnoorrCCoolloorr ((_c_l_a_s_s FFoorreeggrroouunndd))</bb>>
<>
TThhee ccoolloorr ooff tthhee mmiinnoorr ssccaallee ttiicckkss ((bbeettwweeeenn mmaajjoorr ttiicckkss))..
</ddll>>
<> WWIIDDGGEETTSS </hh33>>
IInn oorrddeerr ttoo ssppeecciiffyy rreessoouurrcceess,, iitt iiss uusseeffuull ttoo kknnooww tthhee hhiieerraarrcchhyy ooff
tthhee wwiiddggeettss wwhhiicchh ccoommppoossee _x_c_l_o_c_k. In the notation below,
indentation indicates hierarchical structure. The widget class name
is given first, followed by the widget instance name.
XClock xclock
Clock clock
ENVIRONMENT
-
DISPLAY
-
to get the default host and display number.
-
XENVIRONMENT
-
to get the name of a resource file that overrides the global resources
stored in the RESOURCE_MANAGER property.
FILES
-
/usr/X11R6/lib/X11/app-defaults/XClock
-
specifies required resources
SEE ALSO
X(7), xrdb(1), time(3C)
BUGS
Xclock
believes the system clock.
When in digital mode, the string should be centered automatically.
AUTHORS
Tony Della Fera (MIT-Athena, DEC)
Dave Mankins (MIT-Athena, BBN)
Ed Moy (UC Berkeley)