单声道还适用于Linux桌面应用程序 [英] Is mono still suitable for a Linux Desktop Application

查看:161
本文介绍了单声道还适用于Linux桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Linux创建一个桌面应用程序,我想知道C#/ mono是否仍然适合这一点。他们是否打算为GTK 3制作封装?或者,Qyoto是更好的选择?另外,我想知道GTK是否是Ubuntu的一个好主意,因为他们打算制作自己的窗口服务器。 (如果我没有误解,它将使用QT ...)

任何提示都是可以理解的。

解决方案

< blockquote>

单声道仍然适用于Linux桌面应用程序


是的,一个很好的例子是


他们打算为GTK 3做一个包装吗?


像我这样的社区的许多人正在努力实现这一目标。事实上,已经有一个绑定GTK + 3.x的GTK版本,它是一个预览版本,标记为2.99。


或者Qyoto是更好的选择吗?


不确定这一点。我不知道使用这个的任何关键应用程序,尽管绑定似乎被维护和踢。有些东西告诉我,在这方面还有很多工作要做,因为Qt是C ++,很难将它与C#绑定。但是最近的一些进展正在解决这些非常有前途的问题,例如 CppSharp


另外,我想知道GTK是否是Ubuntu的一个好主意,因为他们打算制作自己的窗口服务器。 (如果我没有误导,它会使用Qt ...)

你误会了。 Canonical的Mir项目是一个比你想象的要低的抽象层次:它打算以与Wayland类似的方式取代X11。 gtk +和Qt都在X11上运行。



这就是说,如果你对选择错误的选项非常谨慎,那么你可以使用 XWT工具包,它将每个平台的工具包完全抽象出来。这样,如果你想在Linux平台上停止使用GTK +,你只需要在未来实现一个Qt后端(用于XWT)。


I want to make a Desktop App for Linux and I'm wondering if C#/mono is still suitable for that. Do they plan to make a wrapper for GTK 3? Or is Qyoto a better choice? Also, I'm wondering if GTK is a good idea for Ubuntu, since they plan to make their own window server. (Which will use QT if I'm not misinformed...)
Any hint is appreciated.

解决方案

Is mono still suitable for a Linux Desktop Application

Yes, and a good example of this is the Banshee Media Player.

Do they plan to make a wrapper for GTK 3?

Various people from the community like me are working to make this happen. In fact, there's already a version of GTK# that binds GTK+ 3.x, it's a preview version labeled as "2.99".

Or is Qyoto a better choice?

Not sure about this. I don't know of any key app that uses this, although the binding seems to be maintained and kicking. Something tells me that there's still lots of work in progress and things to do in this area though, because Qt is C++ and it is hard to bind it from C#. But there are very recent developments to fix these issues which are very promising, such as CppSharp.

Also, I'm wondering if GTK is a good idea for Ubuntu, since they plan to make their own window server. (Which will use Qt if I'm not misinformed...)

You're misinformed. Canonical's Mir project is one level of abstraction lower than what you're thinking: it intends to replace X11, in a similar way Wayland does. And both gtk+ and Qt run on top of X11.

That being said, if you're very cautious about selecting the wrong option, you could use the XWT toolkit, which abstracts you completely from the toolkit in each platform. This way, you would just need to implement a Qt backend (for XWT) in the future in case you want to stop using GTK+ in the Linux platform.

这篇关于单声道还适用于Linux桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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