473,386 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Looking for a very specific type of embedded GUI kit

We make embedded devices that are basically wimpy linux boxes with small
custom display/touchscreen heads on them. They're not running X or any
other windowing system. All development is done with C++ and PEG
(Portable Embedded GUI) driving the display. PEG lets you install your
own hardware driver to talk any custom hardware, which is what we've
done.

Currently we have an upgrade/installer application that boots from CD,
reads an XML manifest, does what it takes to reformat the drive,
partition it, install the correct packages, etc. etc. All the while
displaying on the little screen what it's doing so there's some obvious
progress going on.

Doing this kind of thing in C++ is very painful, so I've suggested that
perhaps the installer could be done in Python - at which point we have
the issue of which non-X graphics toolkit we can use. If this works out,
we'd probably like to replace other C++ tools with Python as well.

So the question is: what non-X gui toolkit can we use that has Python
bindings and will let us use a custom display driver at the lowest level?
Qt/Embedded looks nice, but I don't see anything about Python binding
(though as I write this I've found PyQt). I've also looked at nano-x and
picogui from doing google searches on the newsgroup. Can wxPython run
without X? I don't think so, but could be wrong. Should we just write our
own python wrapper for PEG? I'm still researching, but figured I'd ask
here in case anyone had any relevant experience and could point me
somewhere.
Jul 18 '05 #1
3 1611
On 12 Apr 2005 16:38:05 -0500,
Sizer <si***@nospam.com> wrote:
So the question is: what non-X gui toolkit can we use that has Python
bindings and will let us use a custom display driver at the lowest
level? ...


Curses?

There's a HOWTO at <http://www.amk.ca/python/howto/curses/>.

HTH,
Dan

--
Dan Sommers
<http://www.tombstonezero.net/dan/>
μ₀ × ε₀ × c² = 1
Jul 18 '05 #2

"Sizer" <si***@nospam.com> wrote in message
news:Xn****************************@216.40.28.87.. .
So the question is: what non-X gui toolkit can we use that has Python
bindings and will let us use a custom display driver at the lowest level?


There is a discussion of Embedded X's here:

http://www.linuxdevices.com/files/el...rson/img0.html (metrolink
seem's to be dead).

http://www.microwindows.org/

maybe sourceforge knows more?

Jul 18 '05 #3
Thanks for your suggestions - after digging into SDL it looks pretty darn
easy to add your own primitive devices at the low level (in src/video/), so
that seems like the way to go. Once SDL is working, plenty of kits run on
top of it.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dan Williams | last post by:
Hi people I understand that Python is strongly, but also dynamically typed. However, I need to create a variable which initially isn't actually set to anything, but still needs to be of a...
2
by: Brett Gerhardi | last post by:
Hi all, I'm trying to something that I'm sure must be possible within the schema language but I cannot seem to work it out. Briefly, I am defining a multi-tiered base structure - each tier has...
5
by: Marcin Kalicinski | last post by:
Hi, I am modernizing a small library that is being currently in use by some people. In the new version I want to forbid use of a template function with argument of const char * (i.e. I want to...
34
by: Kifah Abbad | last post by:
Hi guys, i found a proggie, to convert packets captured (by libpcap) to hex format...to pass them to dnet-application. Now the proggie shows results as following:...
3
by: Steve Teeples | last post by:
I have a method that passes in two string objects (both numerical numbers) and a string identifying their type. public bool DoCompare(string num1, string num2, string theirType) { System.Type...
4
by: Joe Doyle | last post by:
I'm trying to do this- .... void method1(System.Array arr) { // happen to know all elements in arr are int's // this line throws an InvalidCastException int intArr = (int) arr; }
2
by: Joergen Bech | last post by:
I have written the following snippet (which works), but is there a more "correct" way to do this? Any way of getting rid of the loop? TIA, Joergen Bech ---snip---
4
by: jehugaleahsa | last post by:
Hello: Say I were to query the schema tables from a database management system. Say I got a DataType field that held the string 'VARCHAR2'. Now, I know that VARCHAR2 associates to System.String....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.