473,587 Members | 2,227 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1622
On 12 Apr 2005 16:38:05 -0500,
Sizer <si***@nospam.c om> 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.tombstoneze ro.net/dan/>
μ₀ × ε₀ × c² = 1
Jul 18 '05 #2

"Sizer" <si***@nospam.c om> 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
1722
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 certain type. I've looked around a bit, but I'm not entirely sure how to do this. Specifically, I have a bit of C++ code which says: struct in_addr...
2
1413
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 its own complextype defined with a base CT having the structure that others should follow. At the leaf ends of some areas I want to restrict the...
5
2117
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 get compile errors when it happens). For the rest of the types function should work ok. // A template function, in old version of the library...
34
2778
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: 4500003ca92e00002001c96a0a0a0a0b0a0a0a0a08007ca40100cfb76162636465666768696a6b6c6d6e6f7071727374757677616263646566676869 (please go to bottom for code)
3
3569
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 type = System.Type.GetType(theirType); return ((type)num1 <= (type)num2) ? true : false; } The compiler doesn't like the (type) casting that I do....
4
2179
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
1050
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
1663
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. However, different DBMSs have different types and worse, even some with the same type turn out to be different .NET types. I would like...
0
7915
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.