PyS60标准函数的来源(特别是appuifw.query)

发布于 2024-07-29 06:25:36 字数 347 浏览 2 评论 0原文

我需要让用户能够以 hh:mm:ss 的形式输入时间(当然需要适当的验证)。 标准函数 appuifw.query(u'Label', 'time') 几乎可以正常工作,只是它只允许输入小时和分钟 (hh:mm)。 所以我想查看它的源代码并编写我自己的源代码,以规定的方式增强它。

我发现 PyS60 SDK 扩展附带的文件 epoc32\winscw\c\resource\appuifw.py ,但它只包含构造函数实现 (__init__)。

所以问题是在哪里可以找到平台标准函数的来源(特别是appuifw.query)。

I need to give user ability to enter a time in form hh:mm:ss (with appropriate validation of course). And standard function appuifw.query(u'Label', 'time') works almost fine except that it allows to enter only hours and minutes (hh:mm). So I want to look though its source and write my own that enhances it in the stated manner.

I've found file epoc32\winscw\c\resource\appuifw.py that comes with PyS60 SDK extension but it only contains constructor implementation (__init__).

So the question is where to find sources of platform's standard functions (particularly appuifw.query).

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

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

发布评论

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

评论(1

喜你已久 2024-08-05 06:25:36

Garage.maemo.org 上的*_src.zip 文件有用吗? (我目前没有工具来验证其中的内容。)

Are the *_src.zip files on garage.maemo.org any useful? (I don't currently have the tools to verify what's in there.)

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