pygame / docs / pygame_cdrom.html

<html>
<title>pygame.cdrom</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 width=60%><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
<tr height=86 align=left><td valign=top><font color=#ffffff size=+5>
	<a href=../>
      <img src=mainlogo.gif width=300 height=100 alt="PyGame Logo" border=0></a></td>
<td valign=middle><tt><font color=#dddddd><br>
	PyGame<br>Documentation</font>
</td></tr></table></td><td width=100% height=100% align=center valign=middle>

	||&nbsp;
	<a href=../>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> ||<br>
|| <a href=Sound.html>Sound</a> || 
<a href=Surface.html>Surface</a> || 
<a href=pygame.html>pygame</a> || 
<a href=pygame_cdrom.html>cdrom</a> || 
<a href=pygame_display.html>display</a> ||<br>
|| <a href=pygame_event.html>event</a> || 
<a href=pygame_font.html>font</a> || 
<a href=pygame_image.html>image</a> || 
<a href=pygame_joystick.html>joystick</a> || 
<a href=pygame_key.html>key</a> ||<br>
|| <a href=pygame_mixer.html>mixer</a> || 
<a href=pygame_mouse.html>mouse</a> || 
<a href=pygame_music.html>music</a> || 
<a href=pygame_surfarray.html>surfarray</a> || 
<a href=pygame_time.html>time</a> ||<br>


</td></tr></table>
<br>
<h2 align=center>pygame.cdrom</h2>
thin wrapper around the SDL CDROM api, likely to
change

<hr>

<table>
<tr><td><a href=#count>count</a></td><td> -
query number of cdroms on system</td></tr>


<tr><td><a href=#get_init>get_init</a></td><td> -
query init of cdrom module</td></tr>


<tr><td><a href=#init>init</a></td><td> -
initialize the cdrom subsystem</td></tr>


<tr><td><a href=#name>name</a></td><td> -
query name of cdrom drive</td></tr>


<tr><td><a href=#open>open</a></td><td> -
open cd device</td></tr>


<tr><td><a href=#quit>quit</a></td><td> -
uninitialize the cdrom subsystem</td></tr>


</table>

<hr>

<a name=count><font size=+2><b>count
</b></font><br><font size=+1><tt>
pygame.cdrom.count() -> int
</tt></font><ul>
Returns the number of CDROM drives available on
the system
</ul><br>&nbsp;<br>

<a name=get_init><font size=+2><b>get_init
</b></font><br><font size=+1><tt>
pygame.cdrom.get_init() -> bool
</tt></font><ul>
Returns true of the cdrom module is initialized
</ul><br>&nbsp;<br>

<a name=init><font size=+2><b>init
</b></font><br><font size=+1><tt>
pygame.cdrom.init() -> None
</tt></font><ul>
Initialize the CDROM module manually
</ul><br>&nbsp;<br>

<a name=name><font size=+2><b>name
</b></font><br><font size=+1><tt>
pygame.cdrom.name(id) -> string
</tt></font><ul>
Returns the name of the CDROM device, given by the
system.
</ul><br>&nbsp;<br>

<a name=open><font size=+2><b>open
</b></font><br><font size=+1><tt>
pygame.cdrom.open(id) -> CD
</tt></font><ul>
Creates a new CD object for the given CDROM id.
</ul><br>&nbsp;<br>

<a name=quit><font size=+2><b>quit
</b></font><br><font size=+1><tt>
pygame.cdrom.quit() -> None
</tt></font><ul>
Uninitialize the CDROM module manually
</ul><br>&nbsp;<br>


<hr>

</body></html>
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.