[pygtk] File system notification

danieleisca danieleisca at alice.it
Wed Dec 16 05:24:57 WST 2009


Luis A. Bastiao Silva wrote:
> Hi,
>
> Have GIO multiplatform support?
>
> On Tue, Dec 15, 2009 at 10:57 AM, John Stowers 
> <john.stowers.lists at gmail.com <mailto:john.stowers.lists at gmail.com>> 
> wrote:
>
>     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   pygtk at daa.com.au <mailto:pygtk at daa.com.au>
>     > http://www.daa.com.au/mailman/listinfo/pygtk
>     > Read the PyGTK FAQ: http://faq.pygtk.org/
>
>     _______________________________________________
>     pygtk mailing list   pygtk at daa.com.au <mailto:pygtk at daa.com.au>
>     http://www.daa.com.au/mailman/listinfo/pygtk
>     Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
>
> Best Regards,
> -- 
> Luís A. Bastião Silva
>
I would understand a thing,


      does gio.File.monitor_directory permit to monitor the single
      directory or all subfiles' changes?




More information about the pygtk mailing list