Low-overhead GUI toolkit for Linux w/o X11?

Nick Craig-Wood nick at craig-wood.com
Mon Nov 5 00:30:16 CET 2007

Grant Edwards <grante at visi.com> wrote:
>  I'm looking for GUI toolkits that work with directly with the
>  Linux frambuffer (no X11).  It's an embedded device with
>  limited resources, and getting X out of the picture would be a
>  big plus.
>  The toolkit needs to be free and open-source.
>  So far, I've found two options that will work without X11:
>   1) QTopia (nee QT/Embedded).  I assume that I can probably get
>      PyQT to work with the embedded version of QT?
>   2) PySDL or PyGame.

We did a similar project recently.  We ended up using pygame and
writing our own GUI.  For an embedded device you don't really want a
general purpose GUI which needs a mouse, you want something specific
which knows how many buttons the device has, what resolution the
screen is etc.  It is not too difficult to make your own GUI in pygame
to do exactly what you want for your embedded device.

> I'm not really sure what the differences are between those two.  The
> latter seems to be a little more active.

Pygame is the way I've always done SDL stuff in python - never even
heard of PySDL!

Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick

More information about the Python-list mailing list