Defines the appearance of one of the cells of the menu.
alpha=number|path
Set the alpha channel that is used to determine how transparent the
foreground should be. Is either an number between zero and 255 or an
image file. Zero means opaque while 255 means totally transparent.
alphainvert
Invert alpha values and alpha images.
bg=color
Set the background color.
fg=color|path
Set the text color. Is either a color or an image file.
height
Set the cell's height.
left
Set the cell's horizontal position to the left column.
middle
Set the cell's horizontal position to the middle column.
right
Set the cell's horizontal position to the right column.
mirrortile
Make all images tile to the actual size of the cell. The tiling will
be mirrored so that no rough edges appear.
mouseover
Make the cell specify how the menu should look when the mouse pointer
is over it. Can only be used on the text row.
rot=degrees
Rotate all images clock-wise.
scaletofit
Resize all images so they fit in the cell.
selected
Make the cell specify how the menu should look for the selected item.
Can only be used on the text row.
shadow=[color[,distance[,blur amount[,direction]]]]
Draw a blurred drop-shadow behind the text. Distance defaults to three
pixels. Direction is entered using clock-wise degrees and defaults to
135. Color defaults to black. Blur amount defaults to two.
src=path
Use this foreground picture.
tile
Tile all images to the actual size of the cell.
top
Set the cell's vertical position to the top row.
text
Set the cell's vertical position to the text row.
delimit
Set the cell's vertical position to the delimit row.
bottom
Set the cell's vertical position to the bottom row.
width=number
Set the cellīs width in pixels.
Attributes
- alpha=number|path
-
Set the alpha channel that is used to determine how transparent the
foreground should be. Is either an number between zero and 255 or an
image file. Zero means opaque while 255 means totally transparent.
- alphainvert
-
Invert alpha values and alpha images.
- bg=color
-
Set the background color.
- fg=color|path
-
Set the text color. Is either a color or an image file.
- height
-
Set the cell's height.
- left
-
Set the cell's horizontal position to the left column.
- middle
-
Set the cell's horizontal position to the middle column.
- right
-
Set the cell's horizontal position to the right column.
- mirrortile
-
Make all images tile to the actual size of the cell. The tiling will
be mirrored so that no rough edges appear.
- mouseover
-
Make the cell specify how the menu should look when the mouse pointer
is over it. Can only be used on the text row.
- rot=degrees
-
Rotate all images clock-wise.
- scaletofit
-
Resize all images so they fit in the cell.
- selected
-
Make the cell specify how the menu should look for the selected item.
Can only be used on the text row.
- shadow=[color[,distance[,blur amount[,direction]]]]
-
Draw a blurred drop-shadow behind the text. Distance defaults to three
pixels. Direction is entered using clock-wise degrees and defaults to
135. Color defaults to black. Blur amount defaults to two.
- src=path
-
Use this foreground picture.
- tile
-
Tile all images to the actual size of the cell.
- top
-
Set the cell's vertical position to the top row.
- text
-
Set the cell's vertical position to the text row.
- delimit
-
Set the cell's vertical position to the delimit row.
- bottom
-
Set the cell's vertical position to the bottom row.
- width=number
-
Set the cellīs width in pixels.
Example
|