# BorderStyle

`BorderStyle` state style-- !flag

Defines a border style for windows. state can be either "" or "". If state is omitted, then the style is set for both states. If the style and flags are enclosed in parentheses, then multiple state definitions can be specified per line.

style is a subset of the available button styles, and can only be (uniform pixmaps which match the bevel colors work best this way) or . If a '!' is prefixed to any flag, the behavior is negated. If style is not specified, then one can change flags without resetting the style.

The flag hides the corner handle dividing lines on windows with handles (this option has no effect for ! windows). By default, HiddenHandles is disabled.

The flag supplements HiddenHandles. If given, the inner bevel around the window frame is not drawn. If HiddenHandles is not specified, the frame looks a little strange.

causes a raised relief pattern to be drawn (default). causes a sunken relief pattern to be drawn. inhibits the relief pattern from being drawn.

To decorate the active and inactive window borders with a textured pixmap, one might specify:

    BorderStyle Active TiledPixmap marble.xpm
    BorderStyle Inactive TiledPixmap granite.xpm
    BorderStyle Active -- HiddenHandles NoInset

To clear the style for both states:

    BorderStyle

To clear for a single state:

    BorderStyle Active Simple

To unset a flag for a given state:

    BorderStyle Inactive -- !NoInset

title-bar buttons can inherit the border style with the flag (see ).