Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.html.RadioGroup-class.html
1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3           "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6   <title>lxml.html.RadioGroup</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33   <!-- Project homepage -->
34       <th class="navbar" align="right" width="100%">
35         <table border="0" cellpadding="0" cellspacing="0">
36           <tr><th class="navbar" align="center"
37             ><a class="navbar" target="_top" href="/">lxml API</a></th>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         lxml ::
46         html ::
47         RadioGroup ::
48         Class&nbsp;RadioGroup
49       </span>
50     </td>
51     <td>
52       <table cellpadding="0" cellspacing="0">
53         <!-- hide/show private -->
54         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56         <tr><td align="right"><span class="options"
57             >[<a href="frames.html" target="_top">frames</a
58             >]&nbsp;|&nbsp;<a href="lxml.html.RadioGroup-class.html"
59             target="_top">no&nbsp;frames</a>]</span></td></tr>
60       </table>
61     </td>
62   </tr>
63 </table>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class RadioGroup</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.html-pysrc.html#RadioGroup">source&nbsp;code</a></span></p>
66 <pre class="base-tree">
67 object --+    
68          |    
69       list --+
70              |
71             <strong class="uidshort">RadioGroup</strong>
72 </pre>
73
74 <hr />
75 <p>This object represents several <tt class="rst-docutils literal">&lt;input type=radio&gt;</tt> elements
76 that have the same name.</p>
77 <p>You can use this like a list, but also use the property
78 <tt class="rst-docutils literal">.value</tt> to check/uncheck inputs.  Also you can use
79 <tt class="rst-docutils literal">.value_options</tt> to get the possible values.</p>
80
81 <!-- ==================== INSTANCE METHODS ==================== -->
82 <a name="section-InstanceMethods"></a>
83 <table class="summary" border="1" cellpadding="3"
84        cellspacing="0" width="100%" bgcolor="white">
85 <tr bgcolor="#70b0f0" class="table-header">
86   <td colspan="2" class="table-header">
87     <table border="0" cellpadding="0" cellspacing="0" width="100%">
88       <tr valign="top">
89         <td align="left"><span class="table-header">Instance Methods</span></td>
90         <td align="right" valign="top"
91          ><span class="options">[<a href="#section-InstanceMethods"
92          class="privatelink" onclick="toggle_private();"
93          >hide private</a>]</span></td>
94       </tr>
95     </table>
96   </td>
97 </tr>
98 <tr>
99     <td width="15%" align="right" valign="top" class="summary">
100       <span class="summary-type">&nbsp;</span>
101     </td><td class="summary">
102       <table width="100%" cellpadding="0" cellspacing="0" border="0">
103         <tr>
104           <td><span class="summary-sig"><a href="lxml.html.RadioGroup-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
105       repr(x)</td>
106           <td align="right" valign="top">
107             <span class="codelink"><a href="lxml.html-pysrc.html#RadioGroup.__repr__">source&nbsp;code</a></span>
108             
109           </td>
110         </tr>
111       </table>
112       
113     </td>
114   </tr>
115   <tr>
116     <td colspan="2" class="summary">
117     <p class="indent-wrapped-lines"><b>Inherited from <code>list</code></b>:
118       <code>__add__</code>,
119       <code>__contains__</code>,
120       <code>__delitem__</code>,
121       <code>__delslice__</code>,
122       <code>__eq__</code>,
123       <code>__ge__</code>,
124       <code>__getattribute__</code>,
125       <code>__getitem__</code>,
126       <code>__getslice__</code>,
127       <code>__gt__</code>,
128       <code>__iadd__</code>,
129       <code>__imul__</code>,
130       <code>__init__</code>,
131       <code>__iter__</code>,
132       <code>__le__</code>,
133       <code>__len__</code>,
134       <code>__lt__</code>,
135       <code>__mul__</code>,
136       <code>__ne__</code>,
137       <code>__new__</code>,
138       <code>__reversed__</code>,
139       <code>__rmul__</code>,
140       <code>__setitem__</code>,
141       <code>__setslice__</code>,
142       <code>__sizeof__</code>,
143       <code>append</code>,
144       <code>count</code>,
145       <code>extend</code>,
146       <code>index</code>,
147       <code>insert</code>,
148       <code>pop</code>,
149       <code>remove</code>,
150       <code>reverse</code>,
151       <code>sort</code>
152       </p>
153     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
154       <code>__delattr__</code>,
155       <code>__format__</code>,
156       <code>__reduce__</code>,
157       <code>__reduce_ex__</code>,
158       <code>__setattr__</code>,
159       <code>__str__</code>,
160       <code>__subclasshook__</code>
161       </p>
162     </td>
163   </tr>
164 </table>
165 <!-- ==================== CLASS VARIABLES ==================== -->
166 <a name="section-ClassVariables"></a>
167 <table class="summary" border="1" cellpadding="3"
168        cellspacing="0" width="100%" bgcolor="white">
169 <tr bgcolor="#70b0f0" class="table-header">
170   <td colspan="2" class="table-header">
171     <table border="0" cellpadding="0" cellspacing="0" width="100%">
172       <tr valign="top">
173         <td align="left"><span class="table-header">Class Variables</span></td>
174         <td align="right" valign="top"
175          ><span class="options">[<a href="#section-ClassVariables"
176          class="privatelink" onclick="toggle_private();"
177          >hide private</a>]</span></td>
178       </tr>
179     </table>
180   </td>
181 </tr>
182   <tr>
183     <td colspan="2" class="summary">
184     <p class="indent-wrapped-lines"><b>Inherited from <code>list</code></b>:
185       <code>__hash__</code>
186       </p>
187     </td>
188   </tr>
189 </table>
190 <!-- ==================== PROPERTIES ==================== -->
191 <a name="section-Properties"></a>
192 <table class="summary" border="1" cellpadding="3"
193        cellspacing="0" width="100%" bgcolor="white">
194 <tr bgcolor="#70b0f0" class="table-header">
195   <td colspan="2" class="table-header">
196     <table border="0" cellpadding="0" cellspacing="0" width="100%">
197       <tr valign="top">
198         <td align="left"><span class="table-header">Properties</span></td>
199         <td align="right" valign="top"
200          ><span class="options">[<a href="#section-Properties"
201          class="privatelink" onclick="toggle_private();"
202          >hide private</a>]</span></td>
203       </tr>
204     </table>
205   </td>
206 </tr>
207 <tr>
208     <td width="15%" align="right" valign="top" class="summary">
209       <span class="summary-type">&nbsp;</span>
210     </td><td class="summary">
211         <a href="lxml.html.RadioGroup-class.html#value" class="summary-name">value</a><br />
212       Get/set the value, which checks the radio with that value (and
213 unchecks any other value).
214     </td>
215   </tr>
216 <tr>
217     <td width="15%" align="right" valign="top" class="summary">
218       <span class="summary-type">&nbsp;</span>
219     </td><td class="summary">
220         <a href="lxml.html.RadioGroup-class.html#value_options" class="summary-name">value_options</a><br />
221       Returns a list of all the possible values.
222     </td>
223   </tr>
224   <tr>
225     <td colspan="2" class="summary">
226     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
227       <code>__class__</code>
228       </p>
229     </td>
230   </tr>
231 </table>
232 <!-- ==================== METHOD DETAILS ==================== -->
233 <a name="section-MethodDetails"></a>
234 <table class="details" border="1" cellpadding="3"
235        cellspacing="0" width="100%" bgcolor="white">
236 <tr bgcolor="#70b0f0" class="table-header">
237   <td colspan="2" class="table-header">
238     <table border="0" cellpadding="0" cellspacing="0" width="100%">
239       <tr valign="top">
240         <td align="left"><span class="table-header">Method Details</span></td>
241         <td align="right" valign="top"
242          ><span class="options">[<a href="#section-MethodDetails"
243          class="privatelink" onclick="toggle_private();"
244          >hide private</a>]</span></td>
245       </tr>
246     </table>
247   </td>
248 </tr>
249 </table>
250 <a name="__repr__"></a>
251 <div>
252 <table class="details" border="1" cellpadding="3"
253        cellspacing="0" width="100%" bgcolor="white">
254 <tr><td>
255   <table width="100%" cellpadding="0" cellspacing="0" border="0">
256   <tr valign="top"><td>
257   <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
258     <br /><em class="fname">(Representation operator)</em>
259   </h3>
260   </td><td align="right" valign="top"
261     ><span class="codelink"><a href="lxml.html-pysrc.html#RadioGroup.__repr__">source&nbsp;code</a></span>&nbsp;
262     </td>
263   </tr></table>
264   
265   repr(x)
266   <dl class="fields">
267     <dt>Overrides:
268         object.__repr__
269         <dd><em class="note">(inherited documentation)</em></dd>
270     </dt>
271   </dl>
272 </td></tr></table>
273 </div>
274 <br />
275 <!-- ==================== PROPERTY DETAILS ==================== -->
276 <a name="section-PropertyDetails"></a>
277 <table class="details" border="1" cellpadding="3"
278        cellspacing="0" width="100%" bgcolor="white">
279 <tr bgcolor="#70b0f0" class="table-header">
280   <td colspan="2" class="table-header">
281     <table border="0" cellpadding="0" cellspacing="0" width="100%">
282       <tr valign="top">
283         <td align="left"><span class="table-header">Property Details</span></td>
284         <td align="right" valign="top"
285          ><span class="options">[<a href="#section-PropertyDetails"
286          class="privatelink" onclick="toggle_private();"
287          >hide private</a>]</span></td>
288       </tr>
289     </table>
290   </td>
291 </tr>
292 </table>
293 <a name="value"></a>
294 <div>
295 <table class="details" border="1" cellpadding="3"
296        cellspacing="0" width="100%" bgcolor="white">
297 <tr><td>
298   <h3 class="epydoc">value</h3>
299   Get/set the value, which checks the radio with that value (and
300 unchecks any other value).
301   <dl class="fields">
302     <dt>Get Method:</dt>
303     <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>)</span>
304         - Get/set the value, which checks the radio with that value (and
305 unchecks any other value).
306     </dd>
307     <dt>Set Method:</dt>
308     <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>,
309         <span class="summary-sig-arg">value</span>)</span>
310     </dd>
311     <dt>Delete Method:</dt>
312     <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>)</span>
313     </dd>
314   </dl>
315 </td></tr></table>
316 </div>
317 <a name="value_options"></a>
318 <div>
319 <table class="details" border="1" cellpadding="3"
320        cellspacing="0" width="100%" bgcolor="white">
321 <tr><td>
322   <h3 class="epydoc">value_options</h3>
323   Returns a list of all the possible values.
324   <dl class="fields">
325     <dt>Get Method:</dt>
326     <dd class="value"><span class="summary-sig"><i>unreachable</i>.value_options(<span class="summary-sig-arg">self</span>)</span>
327         - Returns a list of all the possible values.
328     </dd>
329   </dl>
330 </td></tr></table>
331 </div>
332 <br />
333 <!-- ==================== NAVIGATION BAR ==================== -->
334 <table class="navbar" border="0" width="100%" cellpadding="0"
335        bgcolor="#a0c0ff" cellspacing="0">
336   <tr valign="middle">
337   <!-- Home link -->
338       <th>&nbsp;&nbsp;&nbsp;<a
339         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
340
341   <!-- Tree link -->
342       <th>&nbsp;&nbsp;&nbsp;<a
343         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
344
345   <!-- Index link -->
346       <th>&nbsp;&nbsp;&nbsp;<a
347         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
348
349   <!-- Help link -->
350       <th>&nbsp;&nbsp;&nbsp;<a
351         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
352
353   <!-- Project homepage -->
354       <th class="navbar" align="right" width="100%">
355         <table border="0" cellpadding="0" cellspacing="0">
356           <tr><th class="navbar" align="center"
357             ><a class="navbar" target="_top" href="/">lxml API</a></th>
358           </tr></table></th>
359   </tr>
360 </table>
361 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
362   <tr>
363     <td align="left" class="footer">
364     Generated by Epydoc 3.0.1
365     on Thu Jul  9 18:29:53 2020
366     </td>
367     <td align="right" class="footer">
368       <a target="mainFrame" href="http://epydoc.sourceforge.net"
369         >http://epydoc.sourceforge.net</a>
370     </td>
371   </tr>
372 </table>
373
374 <script type="text/javascript">
375   <!--
376   // Private objects are initially displayed (because if
377   // javascript is turned off then we want them to be
378   // visible); but by default, we want to hide them.  So hide
379   // them unless we have a cookie that says to show them.
380   checkCookie();
381   // -->
382 </script>
383 </body>
384 </html>