Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-11

An idea about a new GUI-Interface

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alexander Kaupp

Hello Lazarus-Developers,

I spend a lot of time in creating web-sites and web-apps. I am a big fan of FPC and lazarus but have less time to use it atm.

But I have an Idea for lazarus :) What about to add a new GUI-Type?

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.

So this could be a good thing for the future of lazarus.

Do you think that it is possible to add XUL-Gui to the lazarus-LCL?

Kind regards from germany
alex

Reply by email

Paul Ishenin
to Alexander Kaupp
Alexander Kaupp wrote
Do you think that it is possible to add XUL-Gui to the lazarus-LCL?

It is possible to do anything if you have the source code. The question is the time and human resources to implement this.

Best regards,
Paul Ishenin.

Reply by email

Alexander Kaupp
to Paul Ishenin

Hi Paul,

thats true... a lot of work. I would like to contribute someting. But I am not familiar with all the lazarus-LCL-stuff :(
And have no idea wher to start. I think this requires deep lazarus knowledge.

kind regards
alex

Paul Ishenin wrote 14 lines
Alexander Kaupp wrote: > Do you think that it is possible to add XUL-Gui to the lazarus-LCL? > It is possible to do anything if you have the source code. The question is the time and human resources to implement this. Best regards, Paul Ishenin. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Graeme Geldenhuys
to Alexander Kaupp: I spend a lot of time in creating web-sites and web-apps. I am a big fan of FPC and…
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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Alexander Kaupp
to Graeme Geldenhuys

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

Graeme Geldenhuys wrote 19 lines
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 -

Reply by email