On 27-05-10 20:45, John Storta Jr. wrote:
I am working on an app that runs in gnome and uses gtk. I am extremely
new to Python. (been working with it for all of 2 days).
I am wanting to add a 'Recent Documents' menu option to the app. Gnome
tracks your recent documents -- apparently in a file called
'.recently-used.xbel' in your home directory.
So as to avoid reinventing the wheel, does anyone know of any examples
of accessing the Gnome recently used file list from within Python? Or
is there some samples of how to implement something independently?
It seems like the type of thing that would be fairly common as part of
integrating a Python app with Gnome. I cannot image every app maintains
their own list of recently used docs when it is already stored within
the desktop.
If anyone has any ideas, please let me know.
PyGTK has some widgets that deal with that. See the PyGTK reference
manual and see the widgets that start with "Recent*".
Cheers,
Timo
Thanks,
John S.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor