如何在其他平台上完成系统任务栏应用程序? [英] How would a system tray application be accomplished on other platforms?

查看:93
本文介绍了如何在其他平台上完成系统任务栏应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows具有系统托盘",其中包含时钟以及始终运行的服务,例如MSN,Steam等.

Windows has the "system tray" that houses the clock and alway-running services like MSN, Steam, etc.

我想开发一个wxPython托盘应用程序,但我想知道它将移植到其他平台的程度如何.每个平台上的托盘等价物是什么,以及支持Windows,OSX和Linux(特别是最友好的外壳)需要多少手工工作.

I'd like to develop a wxPython tray application but I'm wondering how well this will port to other platforms. What is the tray equivalent on each platform, and how much manual work would be required to support Windows, OSX and Linux (which shells in particular would be friendliest).

推荐答案

wx是一个跨平台的GUI和工具库,支持Win32,Mac OS X,GTK +,X11,Motif,WinCE等.而且,如果使用它的类,那么您的应用程序应该可以在所有这些平台上运行. 对于系统托盘,请查看wxTaskBarIcon( http://docs.wxwidgets.org/stable/wx_wxtaskbaricon. html#wxtaskbaricon ).

wx is a cross-platform GUI and tools library that supports Win32, Mac OS X, GTK+, X11, Motif, WinCE, and more. And if you use it's classes then your application should work on all these platforms. For system tray look at wxTaskBarIcon (http://docs.wxwidgets.org/stable/wx_wxtaskbaricon.html#wxtaskbaricon).

这篇关于如何在其他平台上完成系统任务栏应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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