On Tue, 21 Nov 2006 14:50:41 +0200
"Adrian Maier" <[EMAIL PROTECTED]> wrote:
> On 11/21/06, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> > Am Dienstag, den 21.11.2006, 13:14 +0200 schrieb Adrian Maier:
> > > On 11/21/06, Felipe Monteiro de Carvalho
> > > <[EMAIL PROTECTED]> wrote:
> > > > On 11/21/06, Adrian Maier <[EMAIL PROTECTED]> wrote:
> > > > > It makes a lot of sense what Mattias sais: LCL and wx are
> > > > > both initialising and cleaning up gtk , which is probably
> > > > > trouble.
> > > >
> > > > Depending on what you want to do you could try making the python
> > > > program generate it´s interface using Gtk or Qt instead of
> > > > wxWidgets. Another option is using Pascal Script.
> > >
> > > I don't have so much control on the python program ; it's not
> > > developed by me. I'm using the 'forms' component of Gnu
> > > Enterprise . gnue-forms interprets an xml file that describes
> > > the data-aware form and displays the form using any of gtk, qt,
> > > curses, win32.
> > >
> > > The idea is that i want to spend significantly less time with
> > > this solution instead of building the forms in Lazarus. The only
> > > problem is that i need to run the forms _fast_ .
> > >
> > > Execute the python interpreter for each form is a little slow.
> > > The speed should improve if i have a background python program
> > > that is waiting for commands from the lazarus application and
> > > executes the forms when needed.
> >
> > No solution to your problem, but:
> >
> > I'd really love to have something like that for fpc/lazarus.
> > Reading xml and generating form components according to default or
> > configured mapping would be very helpful in creating input or
> > editing forms.
Can you explain this and/or give an example?
> >
> > Dealing with several types of data sets similar in structure but
> > different in some areas (requiredness, labels) it would really
> > lower my workload.
> >
> > I thought about implementing an xforms processor and dropped that
> > idea after reading the spec (which is very detailed but has too big
> > volume for me).
> >
> > Are there any pascal projects similar to gnue-forms?
>
> I don't know.
>
> Anyway, a nice thing in gnue-forms is that the triggers ( event
> handlers ) are also written inside the xml file. For example, you
> just add a <trigger> element
> inside a <button> and write the python code right there, in the
> <trigger> .
>
>
> GnuEnterprise also includes an application server which communicates
> with the client through xml-rpc. It should be doable to connect to
> it from a Lazarus application. I don't know much about it because
> i've begun to use gnue very recently.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives