wxPython 弹出通知 [英] wxPython PopUp notifications

查看:54
本文介绍了wxPython 弹出通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在构建一个应用程序,需要在其中显示更新/通知(例如:例如 FB 上的状态更新/墙贴).这些需要在窗口的右下角显示(像任何其他通知一样).所以正在尝试一些替代方案以最好地显示更新.探索的一些选项是 PopupWindow(对于状态更新来说不是很好)和对话框(似乎还可以).是否有其他好的选择,是否有任何预定义的端角位置常量?请推荐.

We are building an app where in there will be a need to display the updates/notification (ex : like status updates/wall posts on FB). These needs to be displyed at the lower right corner of the window(like any other notifications). So was trying on some alternatives to best display the updates. Some option explored are PopupWindow (which was not that great for status update) and dialog (seems ok). Are there any other good options for this and is there any pre-defined end corners position constants? Plz suggest.

推荐答案

查看我的 RSS 通知程序应用程序的源代码.示例屏幕截图如下所示.是的,这是用 wxPython 实现的.

Check out the source code for my RSS notifier application. Example screenshot shown below. Yes, this is implemented with wxPython.

http://www.feednotifier.com/

要查看的模块是 popups.pytheme_default.py.它并不是真正编写为一个嵌入式模块,但您可以从中获得想法.

The modules to look at are popups.py and theme_default.py. It's not really written to be a drop-in module, but you can get ideas from it.

这篇关于wxPython 弹出通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆