File: ButtonState.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 (67 lines) | stat: -rw-r--r-- 1,981 bytes parent folder | download | duplicates (4)
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
<?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='ButtonState'>
<title>ButtonState</title>

<cmdsynopsis>
	<command>ButtonState</command
	><arg choice='opt'
		>ActiveDown <replaceable>bool</replaceable
	></arg
	><arg choice='opt'
		>Inactive <replaceable>bool</replaceable
	></arg
	><arg choice='opt'
		>InactiveDown <replaceable>bool</replaceable
	></arg>
</cmdsynopsis>

<para>
The
<emphasis remap='B'>ButtonState</emphasis>
command controls which states of the window titles and title
buttons are used.  The default is to use all four states:
"ActiveUp",
"ActiveDown",
"InactiveUp" and
"InactiveDown" (see
<fvwmref cmd="ButtonStyle"/> and
<fvwmref cmd="TitleStyle"/>
commands).  The
<replaceable>bool</replaceable>
argument after the key word controls if the designated state is
used ("True") or not ("False").  The <replaceable>bool</replaceable> flag
is the same as other commands, and not limited to just "True" or "False";
"Yes" and "No" may also be used.
The "ActiveUp" state cannot be
deactivated. If no arguments are provided or the given arguments
are illegal, the default is restored.</para>

<para>If
<fvwmopt cmd="ButtonState" opt="ActiveDown"/>
argument is "False", no different button style
for the pressed down buttons used, instead "ActiveUp" state is
used even when button is pressed.</para>

<para>If
<fvwmopt cmd="ButtonState" opt="Inactive"/>
argument is "False", focused and unfocused windows
look similarly, the corresponding "Active" states are always used.</para>

<para>If
<fvwmopt cmd="ButtonState" opt="InactiveDown"/>
argument is "False" (only applied when
<emphasis remap='I'>Inactive</emphasis>
is "True"), the pressed titles and title buttons in non-focused
windows are drawn using "InactiveUp" or "ActiveUp" states
depending on the values of the other key words.</para>

</section>