<!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>clipboard — Phatch v0.2 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '0.2', COLLAPSE_MODINDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="Phatch v0.2 documentation" href="index.html" /> <link rel="up" title="pyWx" href="lib.pyWx.html" /> <link rel="next" title="compatible" href="lib.pyWx.compatible.html" /> <link rel="prev" title="autoCompleteCtrls" href="lib.pyWx.autoCompleteCtrls.html" /> </head> <body> <div class="related"> <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="modindex.html" title="Global Module Index" accesskey="M">modules</a> |</li> <li class="right" > <a href="lib.pyWx.compatible.html" title="compatible" accesskey="N">next</a> |</li> <li class="right" > <a href="lib.pyWx.autoCompleteCtrls.html" title="autoCompleteCtrls" accesskey="P">previous</a> |</li> <li><a href="index.html">Phatch v0.2 documentation</a> »</li> <li><a href="lib.html" >lib</a> »</li> <li><a href="lib.pyWx.html" accesskey="U">pyWx</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="module-lib.pyWx.clipboard"> <h1>clipboard<a class="headerlink" href="#module-lib.pyWx.clipboard" title="Permalink to this headline">¶</a></h1> <dl class="function"> <dt id="lib.pyWx.clipboard.copy_text"> <tt class="descclassname">lib.pyWx.clipboard.</tt><tt class="descname">copy_text</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#lib.pyWx.clipboard.copy_text" title="Permalink to this definition">¶</a></dt> <dd><p>Copies text to the clipboard.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field"><th class="field-name">Parameter:</th><td class="field-body"><em>text</em> (string) – text to copy</td> </tr> <tr class="field"><th class="field-name">Returns:</th><td class="field-body">if the operation was succesfull</td> </tr> <tr class="field"><th class="field-name">Return type:</th><td class="field-body">bool</td> </tr> </tbody> </table> </dd></dl> <dl class="function"> <dt id="lib.pyWx.clipboard.get_text"> <tt class="descclassname">lib.pyWx.clipboard.</tt><tt class="descname">get_text</tt><big>(</big><big>)</big><a class="headerlink" href="#lib.pyWx.clipboard.get_text" title="Permalink to this definition">¶</a></dt> <dd><p>Gets text from the clipboard.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field"><th class="field-name">Returns:</th><td class="field-body">text from the clipboard or an empty string</td> </tr> <tr class="field"><th class="field-name">Return type:</th><td class="field-body">string</td> </tr> </tbody> </table> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="lib.pyWx.autoCompleteCtrls.html" title="previous chapter">autoCompleteCtrls</a></p> <h4>Next topic</h4> <p class="topless"><a href="lib.pyWx.compatible.html" title="next chapter">compatible</a></p> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" size="18" /> <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> </div> </div> <div class="clearer"></div> </div> <div class="related"> <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="modindex.html" title="Global Module Index" >modules</a> |</li> <li class="right" > <a href="lib.pyWx.compatible.html" title="compatible" >next</a> |</li> <li class="right" > <a href="lib.pyWx.autoCompleteCtrls.html" title="autoCompleteCtrls" >previous</a> |</li> <li><a href="index.html">Phatch v0.2 documentation</a> »</li> <li><a href="lib.html" >lib</a> »</li> <li><a href="lib.pyWx.html" >pyWx</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009, www.stani.be. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.2. </div> </body> </html>