如何使用 Python 编写 GNOME 时钟日历?

bur*_*rli 5 gnome python calendar application-development

我想开发一个小应用程序,我想将事件添加到 Gnome 面板时钟的日历中。它是如何工作的?有我可以使用的 D-Bus 接口吗?或者我可以直接访问进化数据服务器吗?

mgu*_*nes 3

Evolution -python库允许您使用 Python 访问 Evolution 数据服务器。


Khu*_*lam 2

对于 Ubuntu 12.10 Claasic(带 Gnome 面板)

Evolution-Python 模块现已弃用。可以通过 Python 使用 gobject 自省来访问 Evolution Data Server 3.6。为此,gir1.2-edataserver-1.2gir1-2-ecalendar-1.2需要进行安装。

参考这个答案: 为 Gnome-shell 日历编码自己的应用程序

它也应该适用于面板时钟小程序。