/usr/share/doc/python3-autopilot/html/api/autopilot.gestures.html is in python3-autopilot 1.5.1+16.04.20160412-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>autopilot.gestures - Gestural and multi-touch support — Autopilot 1.5 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/otto.css" type="text/css" />
<link rel="stylesheet" href="../_static/centertext.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="shortcut icon" href="../_static/favicon.ico"/>
<link rel="top" title="Autopilot 1.5 documentation" href="../index.html" />
<link rel="up" title="Autopilot API Documentation" href="index.html" />
<link rel="next" title="autopilot.input - Generate keyboard, mouse, and touch input events" href="autopilot.input.html" />
<link rel="prev" title="autopilot.exceptions - Autopilot Exceptions" href="autopilot.exceptions.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="autopilot.input.html" title="autopilot.input - Generate keyboard, mouse, and touch input events"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="autopilot.exceptions.html" title="autopilot.exceptions - Autopilot Exceptions"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Autopilot 1.5 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Autopilot API Documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-autopilot.gestures">
<span id="autopilot-gestures-gestural-and-multi-touch-support"></span><h1><code class="docutils literal"><span class="pre">autopilot.gestures</span></code> - Gestural and multi-touch support<a class="headerlink" href="#module-autopilot.gestures" title="Permalink to this headline">¶</a></h1>
<p>Gestural support for autopilot.</p>
<p>This module contains functions that can generate touch and multi-touch gestures
for you. This is a convenience for the test author - there is nothing to
prevent you from generating your own gestures!</p>
<dl class="function">
<dt id="autopilot.gestures.pinch">
<code class="descclassname">autopilot.gestures.</code><code class="descname">pinch</code><span class="sig-paren">(</span><em>center</em>, <em>vector_start</em>, <em>vector_end</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/autopilot/gestures.html#pinch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#autopilot.gestures.pinch" title="Permalink to this definition">¶</a></dt>
<dd><p>Perform a two finger pinch (zoom) gesture.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>center</strong> – The coordinates (x,y) of the center of the pinch gesture.</li>
<li><strong>vector_start</strong> – The (x,y) values to move away from the center for the
start.</li>
<li><strong>vector_end</strong> – The (x,y) values to move away from the center for the
end.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>The fingers will move in 100 steps between the start and the end points.
If start is smaller than end, the gesture will zoom in, otherwise it
will zoom out.</p>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/otto-64.png" alt="Logo"/>
</a></p>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
<h4>Previous topic</h4>
<p class="topless"><a href="autopilot.exceptions.html"
title="previous chapter"><code class="docutils literal"><span class="pre">autopilot.exceptions</span></code> - Autopilot Exceptions</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="autopilot.input.html"
title="next chapter"><code class="docutils literal"><span class="pre">autopilot.input</span></code> - Generate keyboard, mouse, and touch input events</a></p>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="autopilot.input.html" title="autopilot.input - Generate keyboard, mouse, and touch input events"
>next</a> |</li>
<li class="right" >
<a href="autopilot.exceptions.html" title="autopilot.exceptions - Autopilot Exceptions"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Autopilot 1.5 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="index.html" >Autopilot API Documentation</a> »</li>
</ul>
</div>
<div class="footer">
<div class=center_text>
<a href="../faq/contribute.html">Learn how you can contribute!</a> / <a href="https://bugs.launchpad.net/autopilot/+filebug">File a bug</a>
<br/>
</div>
© Copyright 2012-2014, Canonical.
</div>
</body>
</html>
|