<!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: preferences_dialog</font> </th> </tr> <tr> <td> <!-- breadcrumbs --> <p><small> / <a href="../wifi-radar.html">wifi-radar.py</a> / preferences_dialog </small></p> <!-- /breadcrumbs --> <p>The preferences dialog. Edits non-profile sections of the config file.</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> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </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="toggle_auto_detect"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">toggle_auto_detect </font> </th> </tr> <tr> <td> <pre> toggle_auto_detect ( self, auto_detect_toggle, data=None, ) </pre> <p>Respond to Auto-detect checkbox toggle by activating/de-activating the interface combobox.</p> <h4>Parameters:</h4> <dl> <dt> <code>auto_detect_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> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">run </font> </th> </tr> <tr> <td> <pre> run ( self ) </pre> <p>Display preferences dialog and operate until canceled or okayed.</p> <h4>Parameters:</h4> <p> nothing</p> <h4>Returns:</h4> <dl> <dt> integer</dt> <dd>gtk response ID</dd> </dl> </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_speak"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">toggle_speak </font> </th> </tr> <tr> <td> <pre> toggle_speak ( self, speak_toggle, data=None, ) </pre> <p>Respond to Speak-up checkbox toggle by activating/de-activating the Speak Cmd Entry.</p> <h4>Parameters:</h4> <dl> <dt> <code>speak_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="destroy"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">destroy </font> </th> </tr> <tr> <td> <pre> destroy ( self ) </pre> <p>Remove preferences window.</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="save"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">save </font> </th> </tr> <tr> <td> <pre> save ( self ) </pre> <p>Write updated values to config file.</p> <h4>Parameters:</h4> <p> nothing</p> <h4>Returns:</h4> <p> nothing</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> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> <p> IOError( error_number, error_str )<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="__init__"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__ </font> </th> </tr> <tr> <td> <pre> __init__ ( self, parent, confFile, ) </pre> <p>Create a new preferences_dialog.</p> <h4>Parameters:</h4> <dl> <dt> <code>parent</code></dt> <dd>gtk.Object - Usually, the calling window.</dd> <dt> <code>confFile</code></dt> <dd>ConfigFile - The config file in which to store/read settings.</dd> </dl> <h4>Returns:</h4> <p> preferences_dialog instance</p> </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>