1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html40/loose.dtd">
7 <title>HappyDoc Generated Documentation
</title>
10 <body bgcolor=
"#ffffff">
13 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
19 bgcolor=
"#88bbee"><font color=
"#000000">HappyDoc Generated Documentation
</font>
23 align=
"right"><font color=
"#000000">Class: profile_dialog
</font>
30 /
<a href=
"../wifi-radar.html">wifi-radar.py
</a> /
profile_dialog
</small></p>
34 <p>Edit and return an AP profile.
</p>
35 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
44 <font color=
"#000000">
45 <a name=
"">Methods
</a>
53 <font color=
"#000000"> </font>
58 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
67 <font color=
"#000000">
68 <a name=
"get_array_index"></a>
76 <font color=
"#000000">get_array_index
</font>
89 <p>Return the index where item matches a cell in array.
</p>
92 <dt> <code>item
</code></dt>
93 <dd>string - Item to find in array
</dd>
94 <dt> <code>array
</code></dt>
95 <dd>list - List in which to find match.
</dd>
98 <p> integer -
0 (no match) or higher (index of match)
</p>
100 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
103 <th bgcolor=
"#99ccff"
109 <font color=
"#000000">
110 <a name=
"run"></a>
113 <th bgcolor=
"#99ccff"
118 <font color=
"#000000">run
</font>
127 <p>Display profile dialog, operate until canceled or okayed, and, possibly, return edited profile values.
</p>
132 <dt> dictionary or None
</dt>
133 <dd>a profile, or None on cancel
</dd>
136 <p> Raises ValueError if an attempt is made to save an ESSID with no name.
</p>
137 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
140 <th bgcolor=
"#99ccff"
146 <font color=
"#000000">
147 <a name=
"">Exceptions
</a>
150 <th bgcolor=
"#99ccff"
155 <font color=
"#000000"> </font>
165 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
168 <th bgcolor=
"#99ccff"
174 <font color=
"#000000">
175 <a name=
"toggle_use_dhcp"></a>
178 <th bgcolor=
"#99ccff"
183 <font color=
"#000000">toggle_use_dhcp
</font>
196 <p>Respond to expanding/hiding IP segment.
</p>
199 <dt> <code>widget
</code></dt>
200 <dd>gtk.Widget - The widget sending the event.
</dd>
201 <dt> <code>data
</code></dt>
202 <dd>tuple - List of arbitrary arguments (not used)
</dd>
207 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
210 <th bgcolor=
"#99ccff"
216 <font color=
"#000000">
217 <a name=
"toggle_use_wpa"></a>
220 <th bgcolor=
"#99ccff"
225 <font color=
"#000000">toggle_use_wpa
</font>
238 <p>Respond to expanding/hiding WPA segment.
</p>
241 <dt> <code>widget
</code></dt>
242 <dd>gtk.Widget - The widget sending the event.
</dd>
243 <dt> <code>data
</code></dt>
244 <dd>tuple - List of arbitrary arguments (not used)
</dd>
249 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
252 <th bgcolor=
"#99ccff"
258 <font color=
"#000000">
259 <a name=
"destroy"></a>
262 <th bgcolor=
"#99ccff"
267 <font color=
"#000000">destroy
</font>
276 <p>Remove profile dialog.
</p>
282 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
285 <th bgcolor=
"#99ccff"
291 <font color=
"#000000">
292 <a name=
"__init__"></a>
295 <th bgcolor=
"#99ccff"
300 <font color=
"#000000">__init__
</font>
313 <p>Create a new profile_dialog.
</p>
316 <dt> <code>parent
</code></dt>
317 <dd>gtk.Object - Usually, the calling window.
</dd>
318 <dt> <code>profile
</code></dt>
319 <dd>dictionary - The profile to edit. May be mostly-empty default profile.
</dd>
322 <p> profile_dialog instance
</p>
324 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
327 <th bgcolor=
"#99ccff"
333 <font color=
"#000000">
334 <a name=
"get_array_item"></a>
337 <th bgcolor=
"#99ccff"
342 <font color=
"#000000">get_array_item
</font>
355 <p>Return the value in array[ index ]
</p>
358 <dt> <code>index
</code></dt>
359 <dd>integer - The index to look up.
</dd>
360 <dt> <code>array
</code></dt>
361 <dd>list - List in which to look up value.
</dd>
366 <dd>empty string (no match) or looked up value
</dd>
377 <font size=
"-2"><i>This document was automatically generated
378 Sun Apr
19 14:
31:
33 2009 by
<a
379 href=
"http://happydoc.sourceforge.net">HappyDoc
</a> version