Logo Search packages:      
Sourcecode: accerciser version File versions

def event_monitor::EventMonitor::_onMonitorToggled (   self,
  monitor_toggle 
) [private]

Callback for monitor toggle button. Activates or deactivates monitoring.

@param monitor_toggle: The toggle button that was toggled.
@type monitor_toggle: gtk.ToggleButton

Definition at line 487 of file event_monitor.py.

00487                                              :
    '''
    Callback for monitor toggle button. Activates or deactivates monitoring.
    
    @param monitor_toggle: The toggle button that was toggled.
    @type monitor_toggle: gtk.ToggleButton
    '''
    if monitor_toggle.get_active():
      pyatspi.Registry.registerEventListener(self._handleAccEvent, 
                                             *self.listen_list)
    else:
      pyatspi.Registry.deregisterEventListener(self._handleAccEvent, 
                                               *self.listen_list)

  def _onSourceToggled(self, radio_button):


Generated by  Doxygen 1.6.0   Back to index