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
|
<?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='AddTitleStyle'>
<title>AddTitleStyle</title>
<cmdsynopsis>
<command>AddTitleStyle</command
><arg choice='opt'
><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>Adds a title style to the title-bar.
<replaceable>state</replaceable> can be
"<fvwmopt cmd="AddTitleStyle" opt="ActiveUp"/>",
"<fvwmopt cmd="AddTitleStyle" opt="ActiveDown"/>",
"<fvwmopt cmd="AddTitleStyle" opt="InactiveUp"/>" or
"<fvwmopt cmd="AddTitleStyle" opt="InactiveDown"/>", or
"<fvwmopt cmd="AddTitleStyle" opt="Active"/>" (the same as both "ActiveUp" and "ActiveDown") or
"<fvwmopt cmd="AddTitleStyle" opt="Inactive"/>" (the same as both "InactiveUp" and "InactiveDown")
or any of these 6 with "Toggled" prepended. If
<replaceable>state</replaceable>
is omitted, then the style is added to every state. If the
<replaceable>style</replaceable> and <replaceable>flags</replaceable>
are enclosed in parentheses, then multiple
<replaceable>state</replaceable>
definitions can be placed on a single line. This command is quite
similar to the
<fvwmref cmd="AddButtonStyle"/>
command.</para>
<para>Title-bars are drawn in the order of definition, beginning with
the most recent
<fvwmref cmd="TitleStyle"/>,
followed by those added with
<emphasis remap='B'>AddTitleStyle</emphasis>.
To clear the title style stack, change style flags, or for the
descriptions of available styles and flags, see the
<fvwmref cmd="TitleStyle"/> and
<fvwmref cmd="ButtonStyle"/>
commands.</para>
</section>
|