Logo Search packages:      
Sourcecode: accerciser version File versions

def event_monitor::EventMonitor::init (   self  ) 

Initialize the event monitor plugin.

Definition at line 61 of file event_monitor.py.

00061                 :
    '''
    Initialize the event monitor plugin.
    '''
    self.global_hotkeys = [(N_('Highlight last event entry'),
                            self._onHighlightEvent,
                            keysyms.e, gdk.MOD1_MASK | gdk.CONTROL_MASK)]
    self.source_filter = None
    self.main_xml = gtk.glade.XML(GLADE_FILE, 'monitor_vpaned')
    vpaned = self.main_xml.get_widget('monitor_vpaned')
    self.plugin_area.add(vpaned)
    self._initTreeView()
    self._popEventsModel()
    self._initTextView()

    self.monitor_toggle = self.main_xml.get_widget('monitor_toggle')

    self.listen_list = []
    gobject.timeout_add(100, self._onFlushQueue)
    self.event_queue = Queue()

    self.main_xml.signal_autoconnect(self)
    self.show_all()

  def _popEventsModel(self):


Generated by  Doxygen 1.6.0   Back to index