如何开始XUL开发?
首先我要说的是我的英语不好。所以我对这篇文章中的错误表示歉意。
其次,我是一名有两年专业程序员。主要编程语言是 VB.net(在谈到用户界面时我发现它有些限制)。
我喜欢用户界面,并且我真的希望能够在 Windows 环境中创建具有出色用户界面的软件。经过很长时间的搜索,我发现了一个 Thunderbird 主题,它正是我想要的!这个主题称为“Leopard Mail-Default-Aqua ”。这真的很漂亮。
经过一些研究,我发现 Thunderbird UI 是使用 XUL 创建的,并且 XUL 是一种用户界面的描述性语言。现在我对使用这个平台创建应用程序非常感兴趣,但不知道从哪里开始。 经过一番研究,我还发现 Microsoft 创建了 WPF 将 GUI 与逻辑分离,并且 WPF 支持主题,但对我来说,学习多平台的 XUL 比学习 WPF 更有利可图。
我需要一些关于如何在 XUL 中开始开发的指导,而且非常重要的是,如何在我的 XUL 应用程序中使用 Thunderbird 的现有主题,让它们看起来真的很棒?
据我所知,用 XUL 开发的应用程序使用 javascript 或 C++ 来编程逻辑。这是正确的吗?
另外,由于我来自事件驱动的 .net 编程,我想知道 XUL 开发是否也是事件驱动的,因此,例如,如果我想响应按钮单击,我可以将事件连接到代码/功能。
非常感谢您的帮助。
First of all, I need to say that my English is not good. So I sorry for errors in this post.
Second, I'm a professional programmer for 2 years. Main programming language is VB.net (that I find somewhat limited when speaking about User Interfaces).
I love user interfaces, and I really want to be able to create software in Windows environment that has great User interface. After a long time searching for such a thing I discovered a Thunderbird theme that makes exactly what I want! This theme is called "Leopard Mail-Default-Aqua". This is really beautiful.
After some research I discovered that the Thunderbird UI is created using something called XUL, and that XUL is a descriptive language for user interfaces. Now I'm very interested in creating applications using this platform, but have no idea where to start.
After some research I also discovered that Microsoft created WPF to separate GUI from logic, and WPF support themes, but to me it's much more lucrative to learn XUL that is multiplatform, than WPF.
I need some directions on how to start development in XUL, and also very important, how can I use existing themes for Thunderbird in my XUL applications, so them look really great?
From what I've seen, applications developed in XUL uses javascript or C++ to program logic. Is this correct?
Also, as I came from .net programming that is event driven, I'd like to know if XUL development is also event driven, so if I want to respond to a button click for exemple, I can connect a event to a code/function.
Thanks a lot for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
查找 XUL 文档的最佳位置是 Mozilla 开发者网络 以下是来自 MDN 的一些具体建议和其他地方:
是的,XUL 是事件 -驱动,您将事件附加到按钮和其他小部件,并且 Javascript 函数响应事件。
The best place to find XUL documentation is at the Mozilla Developer Network Here are some specific suggestion from MDN and other places:
xul #xulrunner on Mozilla's IRC channels (Low traffic but if you have a specific question you may be able to get a response here)
And yes, XUL is event-driven, you attach events to buttons and other widgets and Javascript functions respond to the events.
XUL 文档位于
https://developer.mozilla.org/en/XUL
There is XUL documentation at
https://developer.mozilla.org/en/XUL
我认为您一直在寻找 Qt,而不是 XUL。有很多教程可以帮助您入门。
I think it's Qt you've been looking for, not XUL. There's plenty of tutorials to get you started.