开发者

How start with XUL development?

开发者 https://www.devze.com 2022-12-29 13:13 出处:网络
First of all, I need to say that my English is not good. So I sorry 开发者_运维技巧for errors in this post.

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.


The best place to find XUL documentation is at the Mozilla Developer Network Here are some specific suggestion from MDN and other places:

  • Introduction to XUL
  • XUL tutorial on the Mozilla Developer Center
  • XUL Periodic Chart (Open in firefox, provides a demo of various XUL widgets)
  • XUL Explorer (Provides a simple interface for learning XUL/building a XUL window)
  • 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)

  • XUL mailing list

And yes, XUL is event-driven, you attach events to buttons and other widgets and Javascript functions respond to the events.


There is XUL documentation at

https://developer.mozilla.org/en/XUL


I think it's Qt you've been looking for, not XUL. There's plenty of tutorials to get you started.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号