<!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: StatusWindow</font> </th> </tr> <tr> <td> <!-- breadcrumbs --> <p><small> / <a href="../wifi-radar.html">wifi-radar.py</a> / StatusWindow </small></p> <!-- /breadcrumbs --> <p>A simple class for putting up a "Please wait" dialog so the user doesn't think we've forgotten about them. Implements the status interface.</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="hide"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">hide </font> </th> </tr> <tr> <td> <pre> hide ( self ) </pre> <p>Hide all the widgets of the StatusWindow.</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="update_message"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">update_message </font> </th> </tr> <tr> <td> <pre> update_message ( self, message ) </pre> <p>Change the message displayed to the user.</p> <h4>Parameters:</h4> <dl> <dt> <code>message</code></dt> <dd>string - The message to show to the user.</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="show"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">show </font> </th> </tr> <tr> <td> <pre> show ( self ) </pre> <p>Show all the widgets of the StatusWindow.</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="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 the StatusWindow.</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="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 and operate the StatusWindow.</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> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__ </font> </th> </tr> <tr> <td> <pre> __init__ ( self, parent ) </pre> <p>Create a new StatusWindow.</p> <h4>Parameters:</h4> <dl> <dt> <code>parent</code></dt> <dd>gtk.Object - Usually, the calling window.</dd> </dl> <h4>Returns:</h4> <p> StatusWindow instance</p> <h4>NOTE:</h4> <p> Sample implementation of status interface. Status interface requires .show(), .update_message(message), and .hide() methods.</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="update_window"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">update_window </font> </th> </tr> <tr> <td> <pre> update_window ( self ) </pre> <p>Update the StatusWindow progress bar.</p> <h4>Parameters:</h4> <p> nothing</p> <h4>Returns:</h4> <dl> <dt> True</dt> <dd>always return True</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>