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">
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>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
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>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
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 private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.html.RadioGroup-class.html"
59 target="_top">no frames</a>]</span></td></tr>
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 code</a></span></p>
66 <pre class="base-tree">
71 <strong class="uidshort">RadioGroup</strong>
75 <p>This object represents several <tt class="rst-docutils literal"><input type=radio></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>
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%">
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>
99 <td width="15%" align="right" valign="top" class="summary">
100 <span class="summary-type"> </span>
101 </td><td class="summary">
102 <table width="100%" cellpadding="0" cellspacing="0" border="0">
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 />
106 <td align="right" valign="top">
107 <span class="codelink"><a href="lxml.html-pysrc.html#RadioGroup.__repr__">source code</a></span>
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>,
124 <code>__getattribute__</code>,
125 <code>__getitem__</code>,
126 <code>__getslice__</code>,
128 <code>__iadd__</code>,
129 <code>__imul__</code>,
130 <code>__init__</code>,
131 <code>__iter__</code>,
133 <code>__len__</code>,
135 <code>__mul__</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>,
150 <code>reverse</code>,
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>
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%">
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>
183 <td colspan="2" class="summary">
184 <p class="indent-wrapped-lines"><b>Inherited from <code>list</code></b>:
185 <code>__hash__</code>
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%">
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>
208 <td width="15%" align="right" valign="top" class="summary">
209 <span class="summary-type"> </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).
217 <td width="15%" align="right" valign="top" class="summary">
218 <span class="summary-type"> </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.
225 <td colspan="2" class="summary">
226 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
227 <code>__class__</code>
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%">
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>
250 <a name="__repr__"></a>
252 <table class="details" border="1" cellpadding="3"
253 cellspacing="0" width="100%" bgcolor="white">
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>
260 </td><td align="right" valign="top"
261 ><span class="codelink"><a href="lxml.html-pysrc.html#RadioGroup.__repr__">source code</a></span>
269 <dd><em class="note">(inherited documentation)</em></dd>
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%">
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>
295 <table class="details" border="1" cellpadding="3"
296 cellspacing="0" width="100%" bgcolor="white">
298 <h3 class="epydoc">value</h3>
299 Get/set the value, which checks the radio with that value (and
300 unchecks any other value).
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).
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>
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>
317 <a name="value_options"></a>
319 <table class="details" border="1" cellpadding="3"
320 cellspacing="0" width="100%" bgcolor="white">
322 <h3 class="epydoc">value_options</h3>
323 Returns a list of all the possible values.
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.
333 <!-- ==================== NAVIGATION BAR ==================== -->
334 <table class="navbar" border="0" width="100%" cellpadding="0"
335 bgcolor="#a0c0ff" cellspacing="0">
338 <th> <a
339 href="lxml-module.html">Home</a> </th>
342 <th> <a
343 href="module-tree.html">Trees</a> </th>
346 <th> <a
347 href="identifier-index.html">Indices</a> </th>
350 <th> <a
351 href="help.html">Help</a> </th>
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>
361 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
363 <td align="left" class="footer">
364 Generated by Epydoc 3.0.1
365 on Thu Jul 9 18:29:53 2020
367 <td align="right" class="footer">
368 <a target="mainFrame" href="http://epydoc.sourceforge.net"
369 >http://epydoc.sourceforge.net</a>
374 <script type="text/javascript">
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.