File: BorderStyle.xml

package info (click to toggle)
fvwm 1%3A2.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,968 kB
  • sloc: ansic: 145,836; xml: 17,096; perl: 7,237; sh: 5,100; makefile: 1,101; yacc: 688; lex: 187; sed: 11
file content (109 lines) | stat: -rw-r--r-- 3,184 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>

<!-- $Id$ -->

<section id='BorderStyle'>
<title>BorderStyle</title>

<cmdsynopsis>
	<command>BorderStyle</command
	><arg choice='plain'
		><replaceable>state</replaceable
	></arg
	><arg choice='opt'
		><replaceable>style</replaceable
	></arg
	><arg choice='opt'
		>-- <arg choice='plain' rep='repeat'
			><optional>!</optional
			><replaceable>flag</replaceable
		></arg
	></arg>
</cmdsynopsis>

<para>Defines a border style for windows.
<replaceable>state</replaceable>
can be either "<fvwmopt cmd="BorderStyle" opt="Active"/>" or "<fvwmopt cmd="BorderStyle" opt="Inactive"/>".  If
<replaceable>state</replaceable>
is omitted, then the style is set for both states.  If the
<replaceable>style</replaceable> and <replaceable>flags</replaceable>
are enclosed in parentheses, then multiple
<replaceable>state</replaceable>
definitions can be specified per line.</para>

<para><replaceable>style</replaceable>
is a subset of the available button styles, and can only be
<fvwmopt cmd="BorderStyle" opt="TiledPixmap"/>
(uniform pixmaps which match the bevel colors work best this
way) or <fvwmopt cmd="BorderStyle" opt="Colorset"/>. If a
'!' is prefixed to any
<replaceable>flag</replaceable>,
the behavior is negated.  If
<replaceable>style</replaceable>
is not specified, then one can change flags without resetting the
style.</para>

<para>The
<fvwmopt cmd="BorderStyle" opt="HiddenHandles"/>
flag hides the corner handle dividing lines on windows with
handles (this option has no effect for !<fvwmref cmd="Style" opt="Handles"/> windows).  By
default,
<emphasis remap='I'>HiddenHandles</emphasis>
is disabled.</para>

<para>The
<fvwmopt cmd="BorderStyle" opt="NoInset"/>
flag supplements
<emphasis remap='I'>HiddenHandles</emphasis>.
If given, the inner bevel around the window frame is not drawn.
If
<emphasis remap='I'>HiddenHandles</emphasis>
is not specified, the frame looks a little strange.</para>

<para>
<fvwmopt cmd="BorderStyle" opt="Raised"/>
causes a raised relief pattern to be drawn (default).
<fvwmopt cmd="BorderStyle" opt="Sunk"/>
causes a sunken relief pattern to be drawn.
<fvwmopt cmd="BorderStyle" opt="Flat"/>
inhibits the relief pattern from being drawn.</para>

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

<programlisting>
BorderStyle Active TiledPixmap marble.xpm
BorderStyle Inactive TiledPixmap granite.xpm
BorderStyle Active -- HiddenHandles NoInset
</programlisting>

<para>To clear the style for both states:</para>

<programlisting>
BorderStyle <fvwmopt cmd="BorderStyle" opt="Simple"/>
</programlisting>

<para>To clear for a single state:</para>

<programlisting>
BorderStyle Active Simple
</programlisting>

<para>To unset a flag for a given state:</para>

<programlisting>
BorderStyle Inactive -- !NoInset
</programlisting>

<para>title-bar buttons can inherit the border style with the
<fvwmref cmd="ButtonStyle" opt="UseBorderStyle"/>
flag (see
<fvwmref cmd="ButtonStyle"/>).</para>

</section>