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
|
<?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='CursorMove'>
<title>CursorMove</title>
<cmdsynopsis>
<command>CursorMove</command
><arg choice='plain'
><replaceable>horizontal</replaceable
><optional>p</optional
></arg
><arg choice='plain'
><replaceable>vertical</replaceable
><optional>p</optional
></arg>
</cmdsynopsis>
<para>Moves the mouse pointer by
<replaceable>horizontal</replaceable>
pages in the X direction and
<replaceable>vertical</replaceable>
pages in the Y direction. Either or both entries may be
negative. Both horizontal and vertical values are expressed in
percent of pages, so</para>
<programlisting>
CursorMove 100 100
</programlisting>
<para>means to move down and right by one full page.</para>
<programlisting>
CursorMove 50 25
</programlisting>
<para>means to move right half a page and down a quarter of a
page. Alternatively, the distance can be specified in pixels by
appending a
'<fvwmopt cmd="CursorMove" opt="p"/>'
to the horizontal and/or vertical specification. For example</para>
<programlisting>
CursorMove -10p -10p
</programlisting>
<para>means move ten pixels up and ten pixels left. The CursorMove
function should not be called from pop-up menus.</para>
</section>
|