Property | Type | Description |
ampm |
yes/no |
Whether to show "AM" and "PM", default is 'yes' if 'hrtype' is 12, and cannot be set to 'yes' if 'hrtype' is 24. |
background |
string |
An image for the background of the clock widget. Should be an ObjectSystem path. |
bgcolor |
string |
A color, either named or numeric, for the background of the clock. If neither bgcolor nor background are specified, the clock is transparent. |
fgcolor1 |
string |
A color, either named or numeric, for the foreground text of the clock. |
fgcolor2 |
string |
A color, either named or numeric, for the foreground text's shadow, if 'shadowed' is enabled. |
height |
integer |
The height of the clock, in pixels. |
hrtype |
integer |
Set to 12 for a 12-hour clock, or to 24 for military (24-hour) time. |
seconds |
integer |
Whether or not the seconds should be displayed. Default is 'yes'. |
shadowed |
yes/no |
Whether or not the clock's text has a shadow. Default is 'no'. |
shadowx |
integer |
The horizontal offset, in pixels, of the shadow. |
shadowy |
integer |
The vertical offset, in pixels, of the shadow. |
size |
integer |
The size, in points, clock's text. |
width |
integer |
The width of the clock, in pixels. |
x |
integer |
The X location of the left edge of the widget. Default is 0. |
y |
integer |
The Y location of the top edge of the widget. Default is 0. |