[Lazarus] An idea about a new GUI-Interface

Alexander Kaupp tanila at tanila.org
Wed Nov 11 15:11:52 CET 2009


Hi Graeme,

the Idea about XUL is that the GUI is defined by XML/CSS documents. The
Gui-behaviour and funktion Calls to the binary is implemented in
JavaScript ( have a look at firefox,thunderbird, etc. ).

 - The advantage is that the GUI is completely plattform independant and
seperated from the Application. Skinning and internationalization is
really easy with it.

- The disatvantige is that it requires the xulrunner (it generates the
gui out of the xml-documents) on the system which comes with
mozilla-products or an installer.

I had the idea to create a little test-app, that generates the
XUL-Documents out of a existing Lazarus Form. I hope that it is possible
and not too tricky :) Hope to get a little help from the community.

Maybe it is then possible to integrate it in Lazarus, later.

kind regards
alex




Am Mittwoch, den 11.11.2009, 08:59 +0200 schrieb Graeme Geldenhuys:
> Alexander Kaupp wrote:
> > 
> > XUL from mozilla? I think they did really well with this. As I created
> > some Test-Apps for the Android-OS I found that they do the GUI handling
> > in a similar web-styled way.
> 
> I don't really know what XUL is or how it works. But I do know there was
> a company a few years back that created a XUL gui library similar to
> CLX. It worked on Kylix 3 and Delphi 7 and had classes like TXULForm,
> TXULButton etc... I still have a HTML Help Viewer somewhere on my system
> that that company wrote, which uses that XUL interface. I don't think
> the company or the product exists anymore though.
> 
> But as with all software projects, anything is possible. It's just a
> question of how much time and resources you can spend on it. :)
> 
> Regards,
>   - Graeme -
> 





More information about the Lazarus mailing list