1000 GUI toolkits

Boudewijn Rempt boud at rempt.xs4all.nl
Sat Feb 26 10:28:05 CET 2000


Moshe Zadka <moshez at math.huji.ac.il> wrote:
> On Fri, 25 Feb 2000, Robin Dunn wrote:

>> > But it is interesting: is there a Python module (written in Tkinter of
>> > PyGTK or ...) which parses HTML with embedded Python and executes it?
>> > Does grail does that?
>> 
>> It's called Zope.  <wink>

> To clarify: I meant client side.

>> Actually, wxPython sorta has that ability.  GUI objects can be constructed on
>> the fly and displayed embedded in the HTML page within a wxHtmlWindow.

> I meant that the Python code would be in the HTML page, and would be
> compiled to a (say) wxPython (or ...) module which displays a GUI.
> After all, HTML has this fancy layout capabilities: all you would need to
> do is bind some callbacks...

I don't think so - you'd probably have to write an interpreter plugin
or something yourself. Robin's idea is sound, though. When I needed a
really complex grid layout for Kura, I decided not to try to bend PyQt's
grid class to my wishes, but to use a HTML table that was displayed by
the khtmlw HTML widget. Of course, when Qt 2 is bound, I'd use the
canvas class. 

-- 

Boudewijn Rempt  | http://www.valdyas.org



More information about the Python-list mailing list