X Version 11 (Release 6.1)

oclock(X1)


oclock -- round X clock

Synopsis

oclock [-option ...]

Description

oclock displays the current time on an analog display.

Options


-fg color
choose a different color for the both hands and the jewel of the clock

-bg color
choose a different color for the background

-jewel color
choose a different color for the jewel on the clock

-minute color
choose a different color for the minute hand of the clock

-hour color
choose a different color for the hour hand of the clock

-backing { WhenMapped Always NotUseful }
selects an appropriate level of backing store

-geometry geometry
define the initial window geometry; see X(X1M)

-display display
specify the display to use; see X(X1M)

-bd color
choose a different color for the window border

-bw width
choose a different width for the window border. As the Clock widget changes its border around quite a bit, this is most usefully set to zero

-noshape
causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock

-shape
causes the clock to use the Shape extension to create an oval window. This is the default unless the shape Window resource is set to false.

Colors

Although the default colors for the Clock widget are black and white, the widget was designed in color; unfortunately, the toolkit makes specifying these colors in a device-independent manner difficult. If you want to see the correct colors, add the following lines to your resource file:
   Clock*Background: grey
   Clock*BorderColor: light blue
   Clock*hour: yellow
   Clock*jewel: yellow
   Clock*minute: yellow

References

X(X1M)


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004