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
|
<?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: ButtonState.xml,v 1.3 2007/06/16 12:38:45 griph Exp $ -->
<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 "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>
|