Package flumotion :: Package admin :: Package gtk :: Module adminwindow
[hide private]

Module adminwindow

source code

admin window interface, the main interface of flumotion-admin.

Here is an overview of the different parts of the admin interface:

+--------------[ AdminWindow ]-------------+
| Menubar                                  |
+------------------------------------------+
| Toolbar                                  |
+--------------------+---------------------+
|                    |                     |
|                    |                     |
|                    |                     |
|                    |                     |
|  ComponentList     |   ComponentView     |
|                    |                     |
|                    |                     |
|                    |                     |
|                    |                     |
|                    |                     |
+--------------------+---------------------+
| AdminStatusbar                           |
+-------------------------------------------

The main class which builds everything together is a AdminWindow, which is defined in this file:


Version: $Rev: 7070 $

Classes [hide private]
  AdminWindow
Creates the GtkWindow for the user interface.
Variables [hide private]
  MAIN_UI = '\n<ui>\n <menubar name="Menubar">\n <menu actio...
  RECENT_UI_TEMPLATE = '<ui>\n <menubar name="Menubar">\n <m...
  MAX_RECENT_ITEMS = 4
Variables Details [hide private]

MAIN_UI

Value:
'''
<ui>
  <menubar name="Menubar">
    <menu action="Connection">
      <menuitem action="OpenRecent"/>
      <menuitem action="OpenExisting"/>
      <menuitem action="ImportConfig"/>
      <menuitem action="ExportConfig"/>
...

RECENT_UI_TEMPLATE

Value:
'''<ui>
  <menubar name="Menubar">
    <menu action="Connection">
      <placeholder name="Recent">
      %s
      </placeholder>
    </menu>
  </menubar>
...