1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
6
<title>DOM.StyleSheetList</title>
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
<meta http-equiv="Content-Style-Type" content="text/css" />
9
<link rel="stylesheet" type="text/css" href="../common/doxygen.css" />
10
<link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../common/kde.css" />
18
<img alt ="" src="../common/top-kde.jpg"/>
19
KDE 4.7 PyKDE API Reference
23
<div id="header_bottom">
26
<li>KDE's Python API</li>
32
<li><a href="../modules.html">Overview</a></li>
33
<li><a href="http://techbase.kde.org/Development/Languages/Python">PyKDE Home</a></li>
34
<li><a href="http://kde.org/family/">Sitemap</a></li>
35
<li><a href="http://kde.org/contact/">Contact Us</a></li>
41
<div id="body_wrapper">
46
<div class="clearer"> </div>
48
<h1>StyleSheetList Class Reference</h1>
49
<code>from PyKDE4.khtml import *</code>
53
Namespace: <a href="../khtml/DOM.html">DOM</a><br />
54
<h2>Detailed Description</h2>
56
<p>The StyleSheetList interface provides the
57
abstraction of an ordered collection of style sheets.
59
<table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><br><h2>Methods</h2></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#StyleSheetList">__init__</a> (self)</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#StyleSheetList">__init__</a> (self, <a href="../khtml/DOM.StyleSheetList.html">DOM.StyleSheetList</a> other)</td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#isNull">isNull</a> (self)</td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#item">item</a> (self, long index)</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="#length">length</a> (self)</td></tr>
66
<hr><h2>Method Documentation</h2><a class="anchor" name="StyleSheetList"></a>
68
<div class="memproto">
69
<table class="memname"><tr>
70
<td class="memname">__init__</td>
72
<td class="paramtype"> </td>
73
<td class="paramname"><em>self</em> )</td>
74
<td width="100%"> </td>
78
<div class="memdoc"></div></div><a class="anchor" name="StyleSheetList"></a>
80
<div class="memproto">
81
<table class="memname"><tr>
82
<td class="memname">__init__</td>
84
<td class="paramtype"> <em>self</em>, </td>
85
<td class="paramname"></td>
87
<td class="memname"></td>
89
<td class="paramtype"><a href="../khtml/DOM.StyleSheetList.html">DOM.StyleSheetList</a> </td>
90
<td class="paramname"><em>other</em></td>
97
<td width="100%"> </td>
100
<div class="memdoc"></div></div><a class="anchor" name="isNull"></a>
101
<div class="memitem">
102
<div class="memproto">
103
<table class="memname"><tr>
104
<td class="memname">bool isNull</td>
106
<td class="paramtype"> </td>
107
<td class="paramname"><em>self</em> )</td>
108
<td width="100%"> </td>
112
<div class="memdoc"></div></div><a class="anchor" name="item"></a>
113
<div class="memitem">
114
<div class="memproto">
115
<table class="memname"><tr>
116
<td class="memname"><a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a> item</td>
118
<td class="paramtype"> <em>self</em>, </td>
119
<td class="paramname"></td>
121
<td class="memname"></td>
123
<td class="paramtype">long </td>
124
<td class="paramname"><em>index</em></td>
131
<td width="100%"> </td>
134
<div class="memdoc"><p>Used to retrieve a style sheet by ordinal index.
137
</p><dl compact><dt><b>Parameters:</b></dt><dd>
138
<table border="0" cellspacing="2" cellpadding="0">
139
<tr><td></td><td valign="top"><em>index</em> </td><td> Index into the collection
142
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The style sheet at the index position in
143
the StyleSheetList , or null if
144
that is not a valid index.
146
</p></div></div><a class="anchor" name="length"></a>
147
<div class="memitem">
148
<div class="memproto">
149
<table class="memname"><tr>
150
<td class="memname">long length</td>
152
<td class="paramtype"> </td>
153
<td class="paramname"><em>self</em> )</td>
154
<td width="100%"> </td>
158
<div class="memdoc"><p>The number of StyleSheet in the list. The range
159
of valid child stylesheet indices is 0 to
168
<div class="menu_box">
169
<div class="nav_list">
171
<li><a href="../allclasses.html">Full Index</a></li>
175
<a name="cp-menu" /><div class="menutitle"><div>
176
<h2 id="cp-menu-project">Modules</h2>
178
<div class="nav_list">
179
<ul><li><a href="../akonadi/index.html">akonadi</a></li>
180
<li><a href="../dnssd/index.html">dnssd</a></li>
181
<li><a href="../kdecore/index.html">kdecore</a></li>
182
<li><a href="../kdeui/index.html">kdeui</a></li>
183
<li><a href="../khtml/index.html">khtml</a></li>
184
<li><a href="../kio/index.html">kio</a></li>
185
<li><a href="../knewstuff/index.html">knewstuff</a></li>
186
<li><a href="../kparts/index.html">kparts</a></li>
187
<li><a href="../kutils/index.html">kutils</a></li>
188
<li><a href="../nepomuk/index.html">nepomuk</a></li>
189
<li><a href="../phonon/index.html">phonon</a></li>
190
<li><a href="../plasma/index.html">plasma</a></li>
191
<li><a href="../polkitqt/index.html">polkitqt</a></li>
192
<li><a href="../solid/index.html">solid</a></li>
193
<li><a href="../soprano/index.html">soprano</a></li>
199
<div class="clearer"/>
202
<div id="end_body"></div>
204
<div id="footer"><div id="footer_text">
205
This documentation is maintained by <a href="mailto:simon@simonzone.com">Simon Edwards</a>.<br />
206
KDE<sup>®</sup> and <a href="../images/kde_gear_black.png">the K Desktop Environment<sup>®</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
207
<a href="http://www.kde.org/contact/impressum.php">Legal</a>