Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > f6a709d1edccf793d4ecae90b649467b > files > 28

wifi-radar-2.0.s10-3.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html40/loose.dtd">

<html>
         
  <head>
    <title>HappyDoc Generated Documentation</title>
  </head>

  <body bgcolor="#ffffff">
        
        
        <table border="0" cellpadding="5" cellspacing="0" width="100%">
        <tr>
            <th rowspan="2"
                valign="top"
                align="left"
                width="10%"
                bgcolor="#88bbee"><font color="#000000">HappyDoc Generated Documentation</font>
            </th>
            <th bgcolor="#88bbee"
                width="90%"
                align="right"><font color="#000000">Class: profile_dialog</font>
            </th>
        </tr>
        <tr>
        <td>
        <!-- breadcrumbs -->
<p><small>
/&nbsp;<a href="../wifi-radar.html">wifi-radar.py</a>&nbsp;/&nbsp;profile_dialog&nbsp;</small></p>

<!-- /breadcrumbs -->

<p>Edit and return an AP profile.</p>
<table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="">Methods</a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="get_array_index"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">get_array_index&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
get_array_index (
        self,
        item,
        array,
        )
</pre>

<p>Return the index where item matches a cell in array.</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>item</code></dt>
<dd>string - Item to find in array</dd>
<dt>        <code>array</code></dt>
<dd>list - List in which to find match.</dd>
</dl>
<h4>Returns:</h4>
<p>        integer - 0 (no match) or higher (index of match)</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="toggle_roaming"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">toggle_roaming&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
toggle_roaming (
        self,
        roaming_toggle,
        data=None,
        )
</pre>

<p>Respond to roaming checkbox toggle by activating/de-activating the BSSID text entry.</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>roaming_toggle</code></dt>
<dd>gtk.CheckButton - The checkbox sending the signal.</dd>
<dt>        <code>data</code></dt>
<dd>tuple - list of arbitrary arguments (not used)</dd>
</dl>
<h4>Returns:</h4>
<p>        nothing</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="run"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">run&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
run ( self )
</pre>

<p>Display profile dialog, operate until canceled or okayed, and, possibly, return edited profile values.</p>
<h4>Parameters:</h4>
<p>        nothing</p>
<h4>Returns:</h4>
<dl>
<dt>        dictionary or None</dt>
<dd>a profile, or None on cancel</dd>
</dl>
<h4>NOTES:</h4>
<p>        Raises ValueError if an attempt is made to save an ESSID with no name.</p>
<table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="">Exceptions</a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <p>
ValueError<br>
</p>
</td></tr>
</table></td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="toggle_use_dhcp"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">toggle_use_dhcp&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
toggle_use_dhcp (
        self,
        widget,
        data=None,
        )
</pre>

<p>Respond to expanding/hiding IP segment.</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>widget</code></dt>
<dd>gtk.Widget - The widget sending the event.</dd>
<dt>        <code>data</code></dt>
<dd>tuple - List of arbitrary arguments (not used)</dd>
</dl>
<h4>Returns:</h4>
<p>        nothing</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="toggle_use_wpa"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">toggle_use_wpa&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
toggle_use_wpa (
        self,
        widget,
        data=None,
        )
</pre>

<p>Respond to expanding/hiding WPA segment.</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>widget</code></dt>
<dd>gtk.Widget - The widget sending the event.</dd>
<dt>        <code>data</code></dt>
<dd>tuple - List of arbitrary arguments (not used)</dd>
</dl>
<h4>Returns:</h4>
<p>        nothing</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="destroy"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">destroy&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
destroy ( self )
</pre>

<p>Remove profile dialog.</p>
<h4>Parameters:</h4>
<p>        nothing</p>
<h4>Returns:</h4>
<p>        nothing</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="__init__"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">__init__&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
__init__ (
        self,
        parent,
        profile,
        )
</pre>

<p>Create a new profile_dialog.</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>parent</code></dt>
<dd>gtk.Object - Usually, the calling window.</dd>
<dt>        <code>profile</code></dt>
<dd>dictionary - The profile to edit.  May be mostly-empty default profile.</dd>
</dl>
<h4>Returns:</h4>
<p>        profile_dialog instance</p>
</td></tr>
</table><table border="0" cellpadding="5" cellspacing="0" width="100%">

        <tr>
            <th bgcolor="#99ccff"
                rowspan="2"
                valign="top"
                align="left"
                width="20%"
                >
                <font color="#000000">
                  <a name="get_array_item"></a>&nbsp;
                </font>
            </th>
            <th bgcolor="#99ccff"
                valign="top"
                align="left"
                width="80%"
                >
                <font color="#000000">get_array_item&nbsp;</font>
            </th>
        </tr>
        <tr>
        <td>
        <pre>
get_array_item (
        self,
        index,
        array,
        )
</pre>

<p>Return the value in array[ index ]</p>
<h4>Parameters:</h4>
<dl>
<dt>        <code>index</code></dt>
<dd>integer - The index to look up.</dd>
<dt>        <code>array</code></dt>
<dd>list - List in which to look up value.</dd>
</dl>
<h4>Returns:</h4>
<dl>
<dt>        string</dt>
<dd>empty string (no match) or looked up value</dd>
</dl>
</td></tr>
</table></td></tr>
</table>
        </td>
        </tr>
        </table>

    <hr>

    <font size="-2"><i>This document was automatically generated
    Thu May 21 05:32:36 2009 by <a
    href="http://happydoc.sourceforge.net">HappyDoc</a> version
    3.1</i></font>
        
  </body>
</html>