[pygtk] gio monitor issues

danieleisca danieleisca at alice.it
Fri Jan 15 05:18:30 WST 2010


Hi all,

I'm trying to add a gio monitor on my application as below:
import gio
self.gfile = gio.File(os.path.expanduser("~/"))
self.monitor = self.gfile.monitor_directory(gio.FILE_MONITOR_NONE, None)
self.monitor.connect('changed', self.on_monitor_event)

but only changements into the home directory are handled, not in 
subdirectories.
Is this a normal behavior?


More information about the pygtk mailing list