<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>flumotion.admin.gtk.adminwindow</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> Package flumotion :: <a href="flumotion.admin-module.html">Package admin</a> :: <a href="flumotion.admin.gtk-module.html">Package gtk</a> :: Module adminwindow </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== MODULE DESCRIPTION ==================== --> <h1 class="epydoc">Module adminwindow</h1><p class="nomargin-top"><span class="codelink"><a href="flumotion.admin.gtk.adminwindow-pysrc.html">source code</a></span></p> <p>admin window interface, the main interface of flumotion-admin.</p> <p>Here is an overview of the different parts of the admin interface:</p> <pre class="literalblock"> +--------------[ AdminWindow ]-------------+ | Menubar | +------------------------------------------+ | Toolbar | +--------------------+---------------------+ | | | | | | | | | | | | | ComponentList | ComponentView | | | | | | | | | | | | | | | | +--------------------+---------------------+ | AdminStatusbar | +------------------------------------------- </pre> <p>The main class which builds everything together is a <a href="flumotion.admin.gtk.adminwindow.AdminWindow-class.html" class="link">AdminWindow</a>, which is defined in this file:</p> <ul> <li> <a href="flumotion.admin.gtk.adminwindow.AdminWindow-class.html" class="link">AdminWindow</a> creates the other UI parts internally, see the <a href="flumotion.admin.gtk.adminwindow.AdminWindow-class.html#_createUI" class="link" onclick="show_private();">AdminWindow._createUI</a>. </li> <li> Menubar and Toolbar are created by a GtkUIManager, see <a href="flumotion.admin.gtk.adminwindow.AdminWindow-class.html#_createUI" class="link" onclick="show_private();">AdminWindow._createUI</a> and <a href="flumotion.admin.gtk.adminwindow-module.html#MAIN_UI" class="link">MAIN_UI</a>. </li> <li> <a href="flumotion.admin.gtk.componentlist.ComponentList-class.html" class="link">ComponentList</a> is a list of all components, and is created in the <a href="flumotion.admin.gtk.componentlist-module.html" class="link">flumotion.admin.gtk.componentlist</a> module. </li> <li> <a href="flumotion.admin.gtk.componentview.ComponentView-class.html" class="link">ComponentView</a> contains a component specific view, usually a set of tabs, it is created in the <a href="flumotion.admin.gtk.componentview-module.html" class="link">flumotion.admin.gtk.componentview</a> module. </li> <li> <code class="link">AdminStatus</code> is a statusbar displaying context specific hints and is defined in the <a href="flumotion.admin.gtk.statusbar-module.html" class="link">flumotion.admin.gtk.statusbar</a> module. </li> </ul> <hr /> <div class="fields"> <p><strong>Version:</strong> $Rev: 8152 $ </p> </div><!-- ==================== CLASSES ==================== --> <a name="section-Classes"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Classes</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Classes" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="flumotion.admin.gtk.adminwindow.AdminWindow-class.html" class="summary-name">AdminWindow</a><br /> Creates the GtkWindow for the user interface. </td> </tr> </table> <!-- ==================== VARIABLES ==================== --> <a name="section-Variables"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Variables</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Variables" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a name="_"></a><span class="summary-name">_</span> = <code title="gettext.gettext">gettext.gettext</code> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a name="T_"></a><span class="summary-name">T_</span> = <code title="gettexter()">gettexter()</code> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="flumotion.admin.gtk.adminwindow-module.html#MAIN_UI" class="summary-name">MAIN_UI</a> = <code title="""" <ui> <menubar name="Menubar"> <menu action="Connection"> <menuitem action="OpenRecent"/> <menuitem action="OpenExisting"/> <menuitem action="ImportConfig"/> <menuitem action="ExportConfig"/> ..."><code class="variable-ellipsis">...</code></code> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="flumotion.admin.gtk.adminwindow-module.html#RECENT_UI_TEMPLATE" class="summary-name">RECENT_UI_TEMPLATE</a> = <code title="'''<ui> <menubar name="Menubar"> <menu action="Connection"> <placeholder name="Recent"> %s </placeholder> </menu> </menubar> ...">'''<<code class="variable-ellipsis">...</code></code> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a name="MAX_RECENT_ITEMS"></a><span class="summary-name">MAX_RECENT_ITEMS</span> = <code title="4">4</code> </td> </tr> </table> <!-- ==================== VARIABLES DETAILS ==================== --> <a name="section-VariablesDetails"></a> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Variables Details</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-VariablesDetails" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> </table> <a name="MAIN_UI"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">MAIN_UI</h3> <dl class="fields"> </dl> <dl class="fields"> <dt>Value:</dt> <dd><table><tr><td><pre class="variable"> """ <ui> <menubar name="Menubar"> <menu action="Connection"> <menuitem action="OpenRecent"/> <menuitem action="OpenExisting"/> <menuitem action="ImportConfig"/> <menuitem action="ExportConfig"/> <code class="variable-ellipsis">...</code> </pre></td></tr></table> </dd> </dl> </td></tr></table> </div> <a name="RECENT_UI_TEMPLATE"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <h3 class="epydoc">RECENT_UI_TEMPLATE</h3> <dl class="fields"> </dl> <dl class="fields"> <dt>Value:</dt> <dd><table><tr><td><pre class="variable"> '''<ui> <menubar name="Menubar"> <menu action="Connection"> <placeholder name="Recent"> %s </placeholder> </menu> </menubar> <code class="variable-ellipsis">...</code> </pre></td></tr></table> </dd> </dl> </td></tr></table> </div> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Wed Aug 11 21:33:10 2010 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>