GUI wrapper for pygtk, pyqt and wxpython
Stelios Xanthakis
sxanth at ceid.upatras.gr
Fri Oct 8 22:13:13 EDT 2004
Dan Perl wrote:
> It sounds like a great idea. I assume that this is a wrapper around the
> objects that are common in all of those GUI libraries. Can you post a list
> of the objects that you support in Twilight? It can be just the list from
> Twilight (with short descriptions), without the equivalents in all the 3
> libraries.
>
I should really post some online docs.
However there is still a lot that can be done. For now we have
button, checkbutton, label, radiobutton, togglebutton, textentry
editor/viewer, list, tree, popup, dialog, tabs/MDI, openFile, saveFile
image viewer.
> I have to point out though that there seems to be a bug from what is shown
> in the screenshot. The titles of the windows don't match the radio buttons
> on the right side. Or just clicking one of those buttons doesn't trigger
> the change and you have to click also on 'Run it!'?
>
Yes. For example the first window is opened in pygtk. From it I rerun
its code in wx by selecting 'wx' and clicking "Run it!". From the wx I
select pyqt and that results in the qt window. However the library is
not meant to use all 3 toolkits at the same time! There are problems.
QApplication usually freezes the other exec_loops. So the screenshot
is actually fake. Because of the qt window (which was opened last) the
other two don't respond!
Stelios
More information about the Python-list
mailing list