Commits

Anonymous committed 97ecd20

no message

Comments (0)

Files changed (25)

 
 Nov 15, 2000
  BREAK:	Moved pygame.music to a member of pygame.mixer
- BREAK:	Constructor functions capitalized: Rect(), Event(), Surface()
  BREAK:	Surface.blit takes a source rectangle instead of pos, size
  BUG:	pygame.display.set_clip() correctly accepts rectstyle arg
 	Added Surface.get_flags() and Surface.get_pitch()
 <a href=ref/pygame_mixer.html>mixer</a> || 
 <a href=ref/pygame_mixer_music.html>mixer_music</a> || 
 <a href=ref/pygame_mouse.html>mouse</a> || 
-<a href=ref/pygame_music.html>music</a> || 
-<a href=ref/pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=ref/pygame_time.html>time</a> ||<br>
+<a href=ref/pygame_surfarray.html>surfarray</a> || 
+<a href=ref/pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Channel.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Font.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Joystick.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Rect.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Sound.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Surface.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 query colorkey</td></tr>
 
 
+<tr><td><a href=#get_flags>get_flags</a></td><td> -
+query the surface width</td></tr>
+
+
 <tr><td><a href=#get_height>get_height</a></td><td> -
 query the surface height</td></tr>
 
 get a palette entry</td></tr>
 
 
+<tr><td><a href=#get_pitch>get_pitch</a></td><td> -
+query the surface pitch</td></tr>
+
+
 <tr><td><a href=#get_rect>get_rect</a></td><td> -
 get a rectangle covering the entire surface</td></tr>
 
 
 <a name=blit><font size=+2><b>blit
 </b></font><br><font size=+1><tt>
-Surface.blit(source, destoffset, [srcoffset, [size]]) -> Rect
+Surface.blit(source, destoffset, [sourcerect]) -> Rect
 </tt></font><ul>
 The blitting will transfer one surface to another. It will
 respect any special modes like colorkeying and alpha. If hardware
 support is available, it will be used. The given source is the
 Surface to copy from. The destoffset is a 2-number-sequence that
 specifies where on the destination Surface the blit happens.
-Without srcoffset and size supplied, the blit will copy the
+When sourcerect isn't supplied, the blit will copy the
 entire source surface. If you would like to copy only a portion
-of the source, use the srcoffset and size arguements to control
+of the source, use the sourcerect argument to control
 what area is copied.
 <br>&nbsp;<br>
 The blit is subject to be clipped by the active clipping
 returns None
 </ul><br>&nbsp;<br>
 
+<a name=get_flags><font size=+2><b>get_flags
+</b></font><br><font size=+1><tt>
+Surface.get_flags() -> flags
+</tt></font><ul>
+Returns the current state flags for the surface.
+</ul><br>&nbsp;<br>
+
 <a name=get_height><font size=+2><b>get_height
 </b></font><br><font size=+1><tt>
 Surface.get_height() -> height
 palette.
 </ul><br>&nbsp;<br>
 
+<a name=get_pitch><font size=+2><b>get_pitch
+</b></font><br><font size=+1><tt>
+Surface.get_pitch() -> pitch
+</tt></font><ul>
+The surface pitch is the number of bytes used in each
+scanline. This function should rarely needed, mainly for
+any special-case debugging.
+</ul><br>&nbsp;<br>
+
 <a name=get_rect><font size=+2><b>get_rect
 </b></font><br><font size=+1><tt>
 Surface.get_rect() -> rect

docs/ref/pygame.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_cdrom.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_constants.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 pygame.constants.zdepracated (constants)
 </tt></font><ul>
 The flags labeled as readonly should never be used,
-except when comparing checking flags against Surface.get_flags().
+except when comparing checking flags against <a href=Surface.html#get_flags>Surface.get_flags()</a>.
 <br>&nbsp;<br>
 SWSURFACE - not really usable as a surface flag, equates to 0 and
 is always default<br>

docs/ref/pygame_display.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_event.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_font.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_image.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 <br>&nbsp;<br>
 You will only be able to load the types of images supported by
 your build of SDL_image. This will always include GIF, BMP, PPM,
-PCX, and TIF. SDL_image can also load JPG and PNG, but they are
+PCX, and TGA. SDL_image can also load JPG, PNG, and TIF, but they are
 optional.
 </ul><br>&nbsp;<br>
 

docs/ref/pygame_joystick.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_key.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_mixer.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 Sound objects, you can access the Channel objects with functions
 like pygame.mixer.get_channel().
 <br>&nbsp;<br>
+The mixer defaults to supporting 8 simultaneous soundfiles.
+You can change the number of available sound channels at any
+time with the set_num_channels() function.
+<br>&nbsp;<br>
 All loaded Sound objects are resampled to match the same format
 that pygame.mixer is initialized to. The current SDL resampling
 functions are not that good, so it is best if you initialize
 pygame.mixer to the same format as your sound resources. Also
 setting the mixer frequency to even multiples of your sound
 resources will result in a clean conversion.
+<br>&nbsp;<br>
+The mixer also contains a special channel for music. You can
+control the music channel through pygame.mixer.music./
 
 <hr>
 

docs/ref/pygame_mixer_music.html

+<html>
+<title>pygame.mixer.music</title>
+<body bgcolor=#dddddd text=#333377 link=#7777bb vlink=#7777bb>
+
+<table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
+<td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
+<tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
+      pygame</b></i></font></a>&nbsp;&nbsp;</td>
+<td valign=middle><tt><font color=#dddddd><br>
+	PyGame<br>Documentation</font>
+</td></tr></table></td><td width=100% align=center valign=middle>
+
+	||&nbsp;
+	<a href=http://pygame.seul.org>Home</a> &nbsp;||&nbsp;
+	<a href=../index.html>Help Contents</a> &nbsp;||
+	<br>&nbsp;<br>
+
+|| <a href=CD.html>CD</a> || 
+<a href=Channel.html>Channel</a> || 
+<a href=Font.html>Font</a> || 
+<a href=Joystick.html>Joystick</a> || 
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
+|| <a href=pygame.html>pygame</a> || 
+<a href=pygame_cdrom.html>cdrom</a> || 
+<a href=pygame_constants.html>constants</a> || 
+<a href=pygame_display.html>display</a> || 
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
+|| <a href=pygame_joystick.html>joystick</a> || 
+<a href=pygame_key.html>key</a> || 
+<a href=pygame_mixer.html>mixer</a> || 
+<a href=pygame_mixer_music.html>mixer_music</a> || 
+<a href=pygame_mouse.html>mouse</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
+
+
+</td></tr></table>
+<br>
+<h2 align=center>pygame.mixer.music</h2>
+The music module is tied closely to the pygame.mixer module. It
+is an optional module since it depends on the SDL_mixer library.
+You should not manually import the music library. Instead it is
+automatically included as a part of the mixer library. The default
+module path to music is pygame.mixer.music.
+<br>&nbsp;<br>
+The difference between playback of music and playback of sounds
+is that the music object is not loaded and decoded all at once,
+instead the music data is streamed and decoded during playback.
+There can only be one music file loaded at a single time. Loading
+a new music file will replace any currently loaded music.
+<br>&nbsp;<br>
+The music module has many of the same types of functions as the
+Sound objects. The main difference is only one music object can
+be loaded at a time, with the pygame.music.load() function. Music
+must be stored in an individual file on the system, it cannot be
+loaded from special file-like objects through python.
+
+<hr>
+
+<table>
+<tr><td><a href=#fadeout>fadeout</a></td><td> -
+fadeout current music</td></tr>
+
+
+<tr><td><a href=#get_busy>get_busy</a></td><td> -
+query state of the music</td></tr>
+
+
+<tr><td><a href=#get_endevent>get_endevent</a></td><td> -
+query the current music finished event</td></tr>
+
+
+<tr><td><a href=#get_volume>get_volume</a></td><td> -
+query music volume</td></tr>
+
+
+<tr><td><a href=#load>load</a></td><td> -
+load current music</td></tr>
+
+
+<tr><td><a href=#pause>pause</a></td><td> -
+pause the playing music</td></tr>
+
+
+<tr><td><a href=#play>play</a></td><td> -
+play the current loaded music</td></tr>
+
+
+<tr><td><a href=#rewind>rewind</a></td><td> -
+restarts music</td></tr>
+
+
+<tr><td><a href=#set_endevent>set_endevent</a></td><td> -
+sets music finished event</td></tr>
+
+
+<tr><td><a href=#set_volume>set_volume</a></td><td> -
+set music volume</td></tr>
+
+
+<tr><td><a href=#stop>stop</a></td><td> -
+stop the playing music</td></tr>
+
+
+<tr><td><a href=#unpause>unpause</a></td><td> -
+restarts the paused music</td></tr>
+
+
+</table>
+
+<hr>
+
+<a name=fadeout><font size=+2><b>fadeout
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.fadeout(millisec) -> None
+</tt></font><ul>
+Fades out the current playing music and stops it over the given
+milliseconds.
+</ul><br>&nbsp;<br>
+
+<a name=get_busy><font size=+2><b>get_busy
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.get_busy() -> bool
+</tt></font><ul>
+Returns true if music is currently playing
+</ul><br>&nbsp;<br>
+
+<a name=get_endevent><font size=+2><b>get_endevent
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.get_endevent([eventid]) -> int
+</tt></font><ul>
+When the music has finished playing, you can optionally have
+pygame place a user defined message on the event queue. If there
+is no callback event set, NOEVENT will be returned. Otherwise it
+will return the id of the current music finishe event.
+</ul><br>&nbsp;<br>
+
+<a name=get_volume><font size=+2><b>get_volume
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.get_volume() -> val
+</tt></font><ul>
+Get the current volume for the music. Value is
+between 0.0 and 1.0.
+</ul><br>&nbsp;<br>
+
+<a name=load><font size=+2><b>load
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.load(filename) -> None
+</tt></font><ul>
+Load a music object as the current music. The music only handles
+one music as the current. If music is currently playing, it will
+be stopped and replaced with the given one. Loading music only
+supports filenames, not file-like objects.
+</ul><br>&nbsp;<br>
+
+<a name=pause><font size=+2><b>pause
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.pause() -> None
+</tt></font><ul>
+Temporarily stops the current music.
+</ul><br>&nbsp;<br>
+
+<a name=play><font size=+2><b>play
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.play([loops]) -> None
+</tt></font><ul>
+Starts playing the current loaded music. This will restart the
+sound if it is playing. Loops controls how many extra time the
+sound will play, a negative loop will play indefinitely, it
+defaults to 0.
+</ul><br>&nbsp;<br>
+
+<a name=rewind><font size=+2><b>rewind
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.rewind() -> None
+</tt></font><ul>
+Restarts playback of the current music.
+</ul><br>&nbsp;<br>
+
+<a name=set_endevent><font size=+2><b>set_endevent
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.set_endevent([eventid]) -> None
+</tt></font><ul>
+When the music has finished playing, you can optionally have
+pygame place a user defined message on the event queue. If the
+eventid field is omittied or NOEVENT, no messages will be sent
+when the music finishes playing. Once the endevent is set, it
+will be called every time the music finished playing.
+</ul><br>&nbsp;<br>
+
+<a name=set_volume><font size=+2><b>set_volume
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.set_volume(val) -> None
+</tt></font><ul>
+Sets the current volume for the music. Value is
+between 0.0 and 1.0.
+</ul><br>&nbsp;<br>
+
+<a name=stop><font size=+2><b>stop
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.stop() -> None
+</tt></font><ul>
+Stops playback of the current music.
+</ul><br>&nbsp;<br>
+
+<a name=unpause><font size=+2><b>unpause
+</b></font><br><font size=+1><tt>
+pygame.mixer.music.unpause() -> None
+</tt></font><ul>
+Restarts playback of the current music object when paused.
+</ul><br>&nbsp;<br>
+
+
+<hr>
+
+</body></html>

docs/ref/pygame_mouse.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 <hr>
 
 <table>
+<tr><td><a href=#get_cursor>get_cursor</a></td><td> -
+get mouse cursor data</td></tr>
+
+
 <tr><td><a href=#get_focused>get_focused</a></td><td> -
 state of mouse input focus</td></tr>
 
 gets the movement of the mouse</td></tr>
 
 
+<tr><td><a href=#set_cursor>set_cursor</a></td><td> -
+state of shape of the mouse cursor</td></tr>
+
+
 <tr><td><a href=#set_pos>set_pos</a></td><td> -
 moves the cursor position</td></tr>
 
 
 <hr>
 
+<a name=get_cursor><font size=+2><b>get_cursor
+</b></font><br><font size=+1><tt>
+pygame.mouse.get_cursor() -> size, hotspot, xormasks, andmasks
+</tt></font><ul>
+The mouse cursor data is the same as those passed into set_cursor.
+</ul><br>&nbsp;<br>
+
 <a name=get_focused><font size=+2><b>get_focused
 </b></font><br><font size=+1><tt>
 pygame.mouse.get_focused() -> bool
 this.
 </ul><br>&nbsp;<br>
 
+<a name=set_cursor><font size=+2><b>set_cursor
+</b></font><br><font size=+1><tt>
+pygame.mouse.set_cursor(size, hotspot, xormasks, andmasks) -> None
+</tt></font><ul>
+When the mouse cursor is visible, it will be displayed
+as a black and white bitmap using the given bitmask arrays.
+The size is a sequence containing the cursor with and height.
+Hotspot is a sequence containing the cursor hotspot position.
+xormasks is a sequence of bytes containing the cursor xor data
+masks. Lastly is andmasks, a sequence of bytes containting the
+cursor bitmask data.
+<br>&nbsp;<br>
+Width must be a multiple of 8, and the mask arrays must be the
+correct size for the given width and height. Otherwise an exception.
+</ul><br>&nbsp;<br>
+
 <a name=set_pos><font size=+2><b>set_pos
 </b></font><br><font size=+1><tt>
 pygame.mouse.set_pos(pos) -> None

docs/ref/pygame_music.html

-<html>
-<title>pygame.music</title>
-<body bgcolor=#dddddd text=#333377 link=#7777bb vlink=#7777bb>
-
-<table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
-<td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
-<tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../index.html><font size=+5 color=#ffffff><i><b>
-      pygame</b></i></font></a>&nbsp;&nbsp;</td>
-<td valign=middle><tt><font color=#dddddd><br>
-	PyGame<br>Documentation</font>
-</td></tr></table></td><td width=100% align=center valign=middle>
-
-	||&nbsp;
-	<a href=http://pygame.seul.org>Home</a> &nbsp;||&nbsp;
-	<a href=../index.html>Help Contents</a> &nbsp;||
-	<br>&nbsp;<br>
-
-|| <a href=CD.html>CD</a> || 
-<a href=Channel.html>Channel</a> || 
-<a href=Font.html>Font</a> || 
-<a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> || 
-<a href=Sound.html>Sound</a> || 
-<a href=Surface.html>Surface</a> ||<br>
-|| <a href=pygame.html>pygame</a> || 
-<a href=pygame_cdrom.html>cdrom</a> || 
-<a href=pygame_constants.html>constants</a> || 
-<a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> || 
-<a href=pygame_font.html>font</a> || 
-<a href=pygame_image.html>image</a> ||<br>
-|| <a href=pygame_joystick.html>joystick</a> || 
-<a href=pygame_key.html>key</a> || 
-<a href=pygame_mixer.html>mixer</a> || 
-<a href=pygame_mixer_music.html>mixer_music</a> || 
-<a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
-
-
-</td></tr></table>
-<br>
-<h2 align=center>pygame.music</h2>
-{module}
-
-<hr>
-
-<table>
-<tr><td><a href=#play>play</a></td><td> -
-play the current loaded music</td></tr>
-
-
-</table>
-
-<hr>
-
-<a name=play><font size=+2><b>play
-</b></font><br><font size=+1><tt>
-pygame.music.play([loops]) -> None
-</tt></font><ul>
-Starts playing the current loaded music. This will restart the
-sound if it is playing. Loops controls how many extra time the
-sound will play, a negative loop will play indefinitely, it
-defaults to 0.
-</ul><br>&nbsp;<br>
-
-
-<hr>
-
-</body></html>

docs/ref/pygame_surfarray.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_time.html

 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mixer_music.html>mixer_music</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> || 
-<a href=pygame_surfarray.html>surfarray</a> ||<br>
-|| <a href=pygame_time.html>time</a> ||<br>
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 /*music module methods*/
 
     /*DOC*/ static char doc_play[] =
-    /*DOC*/    "pygame.music.play([loops]) -> None\n"
+    /*DOC*/    "pygame.mixer.music.play([loops]) -> None\n"
     /*DOC*/    "play the current loaded music\n"
     /*DOC*/    "\n"
     /*DOC*/    "Starts playing the current loaded music. This will restart the\n"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.