在 python S60 (pyS60) 中在屏幕上显示简单的日历

发布于 2024-09-16 05:26:32 字数 187 浏览 2 评论 0原文

我正在尝试使用 pyS60 开发一个简单的基于日历的应用程序。我需要将日历显示为表单的一部分。我进行了搜索,但在 e32calendar 文档中找不到任何有用的内容。我可以在画布上获取日历,但它不是交互式的。但我想要一个交互式的(就像诺基亚手机中的内置日历一样)。不过我不需要事件类。

我错过了什么吗?

TIA 奇拉格·纳鲁拉

I am trying to develop a simple calendar based application using pyS60. I need to display a calendar as part of the form. I have searched but I couldn't find anything useful in the e32calendar documentation. I can get a calendar on the canvas but its not interactive. But i want one which is interactive ( just like inbuilt calendar in Nokia Mobiles). I don`t need the event classes though.

Am I missing something?

TIA
Chirag Narula

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最美的太阳 2024-09-23 05:26:32

py60的Python模块有一个日历模块,它提供日历服务,如读取、创建条目、设置闹钟。
请查看文档 http://wiki.opensource.nokia.com/projects/PyS60< /a>

在 Doc 中,第 7.2.2 节提供了一种方法:

CalendarDb 对象表示数据库的实时视图。如果在 Python 应用程序外部更改了条目,则更改会立即可见,相反,您提交到数据库中的任何更改也会立即对其他应用程序可见。

Python module for py60 has a calendar module, which provides calendar services like reading, creating entries, setting alarms.
Please look into the documentation at http://wiki.opensource.nokia.com/projects/PyS60

In Doc, Section 7.2.2 provides a way to do that :

CalendarDb objects represent a live view into the database. If an entry is changed outside your Python application, the changes are visible immediately, and conversely any changes you commit into the database are visible immediately to other applications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文