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.CheckboxGroup</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">
48 Class CheckboxGroup
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.CheckboxGroup-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class CheckboxGroup</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.html-pysrc.html#CheckboxGroup">source code</a></span></p>
66 <pre class="base-tree">
71 <strong class="uidshort">CheckboxGroup</strong>
75 <p>Represents a group of checkboxes (<tt class="rst-docutils literal"><input type=checkbox></tt>) that
76 have the same name.</p>
77 <p>In addition to using this like a list, the <tt class="rst-docutils literal">.value</tt> attribute
78 returns a set-like object that you can add to or remove from to
79 check and uncheck checkboxes. You can also use <tt class="rst-docutils literal">.value_options</tt>
80 to get the possible values.</p>
82 <!-- ==================== INSTANCE METHODS ==================== -->
83 <a name="section-InstanceMethods"></a>
84 <table class="summary" border="1" cellpadding="3"
85 cellspacing="0" width="100%" bgcolor="white">
86 <tr bgcolor="#70b0f0" class="table-header">
87 <td colspan="2" class="table-header">
88 <table border="0" cellpadding="0" cellspacing="0" width="100%">
90 <td align="left"><span class="table-header">Instance Methods</span></td>
91 <td align="right" valign="top"
92 ><span class="options">[<a href="#section-InstanceMethods"
93 class="privatelink" onclick="toggle_private();"
94 >hide private</a>]</span></td>
100 <td width="15%" align="right" valign="top" class="summary">
101 <span class="summary-type"> </span>
102 </td><td class="summary">
103 <table width="100%" cellpadding="0" cellspacing="0" border="0">
105 <td><span class="summary-sig"><a href="lxml.html.CheckboxGroup-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
107 <td align="right" valign="top">
108 <span class="codelink"><a href="lxml.html-pysrc.html#CheckboxGroup.__repr__">source code</a></span>
117 <td colspan="2" class="summary">
118 <p class="indent-wrapped-lines"><b>Inherited from <code>list</code></b>:
119 <code>__add__</code>,
120 <code>__contains__</code>,
121 <code>__delitem__</code>,
122 <code>__delslice__</code>,
125 <code>__getattribute__</code>,
126 <code>__getitem__</code>,
127 <code>__getslice__</code>,
129 <code>__iadd__</code>,
130 <code>__imul__</code>,
131 <code>__init__</code>,
132 <code>__iter__</code>,
134 <code>__len__</code>,
136 <code>__mul__</code>,
138 <code>__new__</code>,
139 <code>__reversed__</code>,
140 <code>__rmul__</code>,
141 <code>__setitem__</code>,
142 <code>__setslice__</code>,
143 <code>__sizeof__</code>,
151 <code>reverse</code>,
154 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
155 <code>__delattr__</code>,
156 <code>__format__</code>,
157 <code>__reduce__</code>,
158 <code>__reduce_ex__</code>,
159 <code>__setattr__</code>,
160 <code>__str__</code>,
161 <code>__subclasshook__</code>
166 <!-- ==================== CLASS VARIABLES ==================== -->
167 <a name="section-ClassVariables"></a>
168 <table class="summary" border="1" cellpadding="3"
169 cellspacing="0" width="100%" bgcolor="white">
170 <tr bgcolor="#70b0f0" class="table-header">
171 <td colspan="2" class="table-header">
172 <table border="0" cellpadding="0" cellspacing="0" width="100%">
174 <td align="left"><span class="table-header">Class Variables</span></td>
175 <td align="right" valign="top"
176 ><span class="options">[<a href="#section-ClassVariables"
177 class="privatelink" onclick="toggle_private();"
178 >hide private</a>]</span></td>
184 <td colspan="2" class="summary">
185 <p class="indent-wrapped-lines"><b>Inherited from <code>list</code></b>:
186 <code>__hash__</code>
191 <!-- ==================== PROPERTIES ==================== -->
192 <a name="section-Properties"></a>
193 <table class="summary" border="1" cellpadding="3"
194 cellspacing="0" width="100%" bgcolor="white">
195 <tr bgcolor="#70b0f0" class="table-header">
196 <td colspan="2" class="table-header">
197 <table border="0" cellpadding="0" cellspacing="0" width="100%">
199 <td align="left"><span class="table-header">Properties</span></td>
200 <td align="right" valign="top"
201 ><span class="options">[<a href="#section-Properties"
202 class="privatelink" onclick="toggle_private();"
203 >hide private</a>]</span></td>
209 <td width="15%" align="right" valign="top" class="summary">
210 <span class="summary-type"> </span>
211 </td><td class="summary">
212 <a href="lxml.html.CheckboxGroup-class.html#value" class="summary-name">value</a><br />
213 Return a set-like object that can be modified to check or
214 uncheck individual checkboxes according to their value.
218 <td width="15%" align="right" valign="top" class="summary">
219 <span class="summary-type"> </span>
220 </td><td class="summary">
221 <a href="lxml.html.CheckboxGroup-class.html#value_options" class="summary-name">value_options</a><br />
222 Returns a list of all the possible values.
226 <td colspan="2" class="summary">
227 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
228 <code>__class__</code>
233 <!-- ==================== METHOD DETAILS ==================== -->
234 <a name="section-MethodDetails"></a>
235 <table class="details" border="1" cellpadding="3"
236 cellspacing="0" width="100%" bgcolor="white">
237 <tr bgcolor="#70b0f0" class="table-header">
238 <td colspan="2" class="table-header">
239 <table border="0" cellpadding="0" cellspacing="0" width="100%">
241 <td align="left"><span class="table-header">Method Details</span></td>
242 <td align="right" valign="top"
243 ><span class="options">[<a href="#section-MethodDetails"
244 class="privatelink" onclick="toggle_private();"
245 >hide private</a>]</span></td>
251 <a name="__repr__"></a>
253 <table class="details" border="1" cellpadding="3"
254 cellspacing="0" width="100%" bgcolor="white">
256 <table width="100%" cellpadding="0" cellspacing="0" border="0">
257 <tr valign="top"><td>
258 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
259 <br /><em class="fname">(Representation operator)</em>
261 </td><td align="right" valign="top"
262 ><span class="codelink"><a href="lxml.html-pysrc.html#CheckboxGroup.__repr__">source code</a></span>
270 <dd><em class="note">(inherited documentation)</em></dd>
276 <!-- ==================== PROPERTY DETAILS ==================== -->
277 <a name="section-PropertyDetails"></a>
278 <table class="details" border="1" cellpadding="3"
279 cellspacing="0" width="100%" bgcolor="white">
280 <tr bgcolor="#70b0f0" class="table-header">
281 <td colspan="2" class="table-header">
282 <table border="0" cellpadding="0" cellspacing="0" width="100%">
284 <td align="left"><span class="table-header">Property Details</span></td>
285 <td align="right" valign="top"
286 ><span class="options">[<a href="#section-PropertyDetails"
287 class="privatelink" onclick="toggle_private();"
288 >hide private</a>]</span></td>
296 <table class="details" border="1" cellpadding="3"
297 cellspacing="0" width="100%" bgcolor="white">
299 <h3 class="epydoc">value</h3>
300 Return a set-like object that can be modified to check or
301 uncheck individual checkboxes according to their value.
304 <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>)</span>
305 - Return a set-like object that can be modified to check or
306 uncheck individual checkboxes according to their value.
309 <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>,
310 <span class="summary-sig-arg">value</span>)</span>
312 <dt>Delete Method:</dt>
313 <dd class="value"><span class="summary-sig"><i>unreachable</i>.value(<span class="summary-sig-arg">self</span>)</span>
318 <a name="value_options"></a>
320 <table class="details" border="1" cellpadding="3"
321 cellspacing="0" width="100%" bgcolor="white">
323 <h3 class="epydoc">value_options</h3>
324 Returns a list of all the possible values.
327 <dd class="value"><span class="summary-sig"><i>unreachable</i>.value_options(<span class="summary-sig-arg">self</span>)</span>
328 - Returns a list of all the possible values.
334 <!-- ==================== NAVIGATION BAR ==================== -->
335 <table class="navbar" border="0" width="100%" cellpadding="0"
336 bgcolor="#a0c0ff" cellspacing="0">
339 <th> <a
340 href="lxml-module.html">Home</a> </th>
343 <th> <a
344 href="module-tree.html">Trees</a> </th>
347 <th> <a
348 href="identifier-index.html">Indices</a> </th>
351 <th> <a
352 href="help.html">Help</a> </th>
354 <!-- Project homepage -->
355 <th class="navbar" align="right" width="100%">
356 <table border="0" cellpadding="0" cellspacing="0">
357 <tr><th class="navbar" align="center"
358 ><a class="navbar" target="_top" href="/">lxml API</a></th>
362 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
364 <td align="left" class="footer">
365 Generated by Epydoc 3.0.1
366 on Thu Jul 9 18:29:53 2020
368 <td align="right" class="footer">
369 <a target="mainFrame" href="http://epydoc.sourceforge.net"
370 >http://epydoc.sourceforge.net</a>
375 <script type="text/javascript">
377 // Private objects are initially displayed (because if
378 // javascript is turned off then we want them to be
379 // visible); but by default, we want to hide them. So hide
380 // them unless we have a cookie that says to show them.