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
|
<?xml version="1.0" encoding="UTF-8" ?>
<!-- $Id$ -->
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>
<section id='MoveToPage'>
<title>MoveToPage</title>
<cmdsynopsis>
<command>MoveToPage</command
><group choice='plain'
><arg choice='plain'
><arg choice='opt'
><replaceable>options</replaceable
></arg
><arg choice='opt'
><arg choice='plain'
><replaceable>x</replaceable
><optional
><group choice='plain'
><arg choice='plain'
>p</arg
><arg choice='plain'
>w</arg
></group
></optional
></arg
><arg choice='plain'
><replaceable>y</replaceable
><optional
><group choice='plain'
><arg choice='plain'
>p</arg
><arg choice='plain'
>w</arg
></group
></optional
></arg
></arg
></arg
><arg choice='opt'>prev</arg
></group>
</cmdsynopsis>
<para>Moves the selected window to another page
(<replaceable>x</replaceable>,<replaceable>y</replaceable>). The
upper left page is (0,0), the upper right is (M,0), where M is one
less than the current number of horizontal pages specified in the
<fvwmref cmd="DesktopSize"/>
command. Similarly the lower left page is (0,N), and the lower
right page is (M,N). Negative page numbers refer to pages from
the rightmost/lowest page. If
<fvwmopt cmd="MoveToPage" opt="x"/> and
<fvwmopt cmd="MoveToPage" opt="y"/>
are not given, the window is moved to the current page (a window
that has the focus but is off-screen can be retrieved with this).
Moving windows to a page relative to the current page can be
achieved by adding a trailing
'<fvwmopt cmd="MoveToPage" opt="p"/>'
after any or both numerical arguments. To move the window
relative to its current location, add a trailing
'<fvwmopt cmd="MoveToPage" opt="w"/>'.
To move a window to the previous page use
<fvwmopt cmd="MoveToPage" opt="prev"/>
as the single argument.</para>
<para>Windows are usually not moved beyond desk boundaries.</para>
<para>Possible
<replaceable>options</replaceable>
are
<fvwmopt cmd="MoveToPage" opt="wrapx"/> and
<fvwmopt cmd="MoveToPage" opt="wrapy"/>
to wrap around the x or y coordinate when the window is moved
beyond the border of the desktop. For example, with
<emphasis remap='I'>wrapx</emphasis>,
when the window moves past the right edge of the desktop, it
reappears on the left edge. The options
<fvwmopt cmd="MoveToPage" opt="nodesklimitx"/> and
<fvwmopt cmd="MoveToPage" opt="nodesklimity"/>
allow moving windows beyond the desk boundaries in x and y
direction (disabling the
<emphasis remap='I'>wrapx</emphasis> and <emphasis remap='I'>wrapy</emphasis>
options).</para>
<para>Examples:</para>
<programlisting>
# <fvwmref cmd="Move"/> window to page (2,3)
MoveToPage 2 3
# <fvwmref cmd="Move"/> window to lowest and rightmost page
MoveToPage -1 -1
# <fvwmref cmd="Move"/> window to last page visited
MoveToPage prev
# <fvwmref cmd="Move"/> window two pages to the right and one
# page up, wrap at desk boundaries
MoveToPage wrapx wrapy +2p -1p
</programlisting>
</section>
|