Commits

illume committed d5a1759

Updated the scrap module.

  • Participants
  • Parent commits 3a16c2b

Comments (0)

Files changed (2)

File docs/ref/index.html

 </ul>
 <li><a href="scrap.html#pygame.scrap">pygame.scrap</a> - <font size=-1></font></li>
 <ul>
-<li></li>
 <li><a href="scrap.html#pygame.scrap.get">pygame.scrap.get</a> - <font size=-1>Gets stuff from the clipboard.</font></li>
-<li><a href="scrap.html#pygame.scrap.init">pygame.scrap.init</a> - <font size=-1>raises an error on error.</font></li>
+<li><a href="scrap.html#pygame.scrap.init">pygame.scrap.init</a> - <font size=-1>raises an error if it can not initialise.</font></li>
 <li><a href="scrap.html#pygame.scrap.lost">pygame.scrap.lost</a> - <font size=-1>Has the clipboard contents been lost.</font></li>
 <li><a href="scrap.html#pygame.scrap.put">pygame.scrap.put</a> - <font size=-1>Puts stuff into the clipboard.</font></li>
 </ul>

File docs/ref/scrap.html

 <a name="pygame.scrap">
 <big><b>pygame.scrap</big></b><br><ul>
 <ul><small><table>
-  <tr><td><a href="scrap.html#pygame.scrap.init">pygame.scrap.init</a> - <font size=-1>raises an error on error.</font></td><td>raises an error on error.</td></tr>
+  <tr><td><a href="scrap.html#pygame.scrap.init">pygame.scrap.init</a> - <font size=-1>raises an error if it can not initialise.</font></td><td>raises an error if it can not initialise.</td></tr>
   <tr><td><a href="scrap.html#pygame.scrap.get">pygame.scrap.get</a> - <font size=-1>Gets stuff from the clipboard.</font></td><td>Gets stuff from the clipboard.</td></tr>
   <tr><td><a href="scrap.html#pygame.scrap.put">pygame.scrap.put</a> - <font size=-1>Puts stuff into the clipboard.</font></td><td>Puts stuff into the clipboard.</td></tr>
   <tr><td><a href="scrap.html#pygame.scrap.lost">pygame.scrap.lost</a> - <font size=-1>Has the clipboard contents been lost.</font></td><td>Has the clipboard contents been lost.</td></tr>
-  <tr><td>None</td><td></td></tr>
 </table></small></ul>
-<p>The scrap module is for getting and putting stuff from the clipboard. </p>
+<p>The scrap module is for getting and putting stuff from the clipboard. So you can copy and paste things between pygame, and other application types. </p>
 <p>New in pygame <tt>1.8</tt>. Only works for windows, <tt>X11</tt>, <tt>QNX</tt>, Mac <tt>OS</tt> <tt>X</tt> so far. </p>
 <!--COMMENTS:pygame.scrap--> &nbsp;<br> 
 
 
 <a name="pygame.scrap.init">
 <big><b>pygame.scrap.init</big></b><br><ul>
-  <i>raises an error on error.</i><br>
+  <i>raises an error if it can not initialise.</i><br>
  &nbsp;<br> 
 <!--COMMENTS:pygame.scrap.init--> &nbsp;<br> 
 <br></ul>
 <big><b>pygame.scrap.put</big></b><br><ul>
   <i>Puts stuff into the clipboard.</i><br>
   <tt>pygame.scrap.put(pygame.locals.SCRAP_TEXT, 'hello clipboard'): return None.</tt><br>
-  <tt>pygame.scrap.put(pygame.locals.SCRAP_BMP, 'hello clipboard'): return None.</tt><br>
+  <tt>pygame.scrap.put(pygame.locals.SCRAP_BMP, Surface): return None.</tt><br>
 <p>Puts the stuff into the clipboard. </p>
 <!--COMMENTS:pygame.scrap.put--> &nbsp;<br> 
 <br></ul>
 <p>Returns True if the contents of the clipboard has been lost. If it has not been lost it returns False. </p>
 <!--COMMENTS:pygame.scrap.lost--> &nbsp;<br> 
 <br></ul>
-
-
-<a name="">
-<big><b></big></b><br><ul>
- &nbsp;<br> 
-<!--COMMENTS:--> &nbsp;<br> 
-<br></ul>
 <br></ul>
 
 </body></html>