On Tue, 2009-12-15 at 11:43 +0100, danieleisca wrote: > Hi, > I would update my application's directory tree when a folder is created > or deleted from the window manager. What's the way to handle such event? > Thanks!
Use GIO to monitor for file changes http://library.gnome.org/devel/gio/stable/GFile.html#g-file-monitor That is the documentation for the C API but the python-gobject binding of GIO retains the same function,constant,class names, etc. John > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
