Logo Search packages:      
Sourcecode: accerciser version File versions

def event_monitor::EventMonitor::_resetClient (   self  )  [private]

De-registers the client from the currently monitored events. 
If the monitor is still enabled it get's a list of enabled events 
and re-registers the client.

Definition at line 178 of file event_monitor.py.

00178                         :
    '''
    De-registers the client from the currently monitored events. 
    If the monitor is still enabled it get's a list of enabled events 
    and re-registers the client.
    '''
    pyatspi.Registry.deregisterEventListener(self._handleAccEvent, 
                                             *self.listen_list)
    self.listen_list = self._getEnabledEvents(self.events_model.get_iter_root())
    if self.monitor_toggle.get_active():
      pyatspi.Registry.registerEventListener(self._handleAccEvent, 
                                             *self.listen_list)

  def _getEnabledEvents(self, iter):


Generated by  Doxygen 1.6.0   Back to index