Michael Redmond wrote:
> Can anyone tell me if there are any plans for integrating database aware widgets into pythoncard? (Along the lines of PyQt, etc.)
>
> Thanks,
>
> Michael
>
Not currently. PythonCard is concentrating on simpler building blocks at
the moment.
Before we implement a database aware widget we would first have to wrap
an implementation of a wxGrid object. This is actually a lot harder than
it looks because wxGrid objects are complex beasties.
To remain true to PythonCard's mission "Simple things should be simple
and complex things should be possible" we should probably produce a
number of different widgets that use a wxGrid rather than simply
wrapping it.
For instance we could have one component for read-only viewing of data
that allows the presentation (fonts, colours, etc.) to be changed,
another which allows changing, adding or removing data but in a fixed
layout, etc. It should then be possible to take one of these components
and either make it data aware within your application or produce a new
data bound component.
I have done a little dabbling in this area but as yet haven't got
anything workable. If anyone else has a patch it will, as ever, be more
than welcome.
Regards,
Andy
--
-----------------------------------------------------------------------
From the desk of Andrew J Todd esq.
"So I curtailed my Walpoling activities, sallied forth and infiltrated
your place of purveyance to negotiate the vending of some cheesy
comestibles." - Monty Python.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/04
|