Re: [gamin] python binding question



>>>>> "Daniel" == Daniel Veillard <veillard redhat com> writes:

  Daniel>   Keep the same callback, but pass a different data:
  Daniel>     def watch_directory(self, directory, callback, data =
  Daniel>     None): def watch_file(self, file, callback, data =
  Daniel>     None):
  Daniel> and make sure to define an optional arg to your callback,
  Daniel> that arg is an even simpler version of your ID.

That will work great. Sorry for the silly question.
 -nld



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]