Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::prefs::Preferences::notify_add (   self,
  callback 
)

Register a callback to be called when a preference changes.

callback : a callable object which take two parameters, 'attr' the
   name of the attribute changed and 'val' the new value.

Definition at line 170 of file prefs.py.

00170                                   :
        """Register a callback to be called when a preference changes.

        callback : a callable object which take two parameters, 'attr' the
                   name of the attribute changed and 'val' the new value.
        """
        self._listeners.append(callback)

    def dump(self):


Generated by  Doxygen 1.6.0   Back to index