Discussion:
tkinter for dell axim x30
Ron Harris
2010-04-25 19:45:01 UTC
Permalink
Using the latest download (i think it's 2.5 from 2007) of pythonce, most features work properly on my PocketPC but Tkinter or _tkinter, as it seems to be known in the list of modules, doesn't work.

The PocketPC device is a Dell Axim X30 with Windows Mobile 2003 Second Edition.

The question would be:  Can tkinter be made to work with PythonCE on the Dell Axim X30, and if so what steps do I have to take to get it going?

I'm wouldn't consider recompiling python or tkinter since it would probably be easier to write the application in C using the Windows Mobile Edition SDK.
David McNab
2010-04-25 19:56:48 UTC
Permalink
I'm wouldn't consider recompiling python or tkinter since it would
probably be easier to write the application in C using the Windows
Mobile Edition SDK.
If you're looking in that direction, perhaps it would be easier to use
Cython to build some wrappers to access the Windows ME SDK via Python.
That would give you the best of both worlds - python and a windowing
system that Just Works.

Cheers
David
Ron Harris
2010-04-26 03:08:17 UTC
Permalink
Hi David,

Thanks for your response.

I'm pretty of a python newbie, have little time for programming, and also must confess that I'm not sure exactly what you are talking about. I have no experience with Cython and no ambition to create any kind of extensions or wrapper for anything. I'd prefer to leave that up to someone else.

But thank you for suggestion. The original question still stands, which is basically whether or not tkinter works with Windows 2003 Mobile Edition or if no, whether it can easily be made to work with it.

I'm not really leaning toward using C and the SDK. I'd much rather do it in Python but I need buttons to gather data for the application. I suppose I could use a text interface if need be but I want input to require no more effort or time than selecting and pushing a button.

Cheers,

Ron




________________________________
From: David McNab <***@orcon.net.nz>
To: Ron Harris <***@yahoo.com>
Cc: ***@python.org
Sent: Sun, April 25, 2010 12:56:48 PM
Subject: Re: [PythonCE] tkinter for dell axim x30
I'm wouldn't consider recompiling python or tkinter since it would
probably be easier to write the application in C using the Windows
Mobile Edition SDK.
If you're looking in that direction, perhaps it would be easier to use
Cython to build some wrappers to access the Windows ME SDK via Python.
That would give you the best of both worlds - python and a windowing
system that Just Works.

Cheers
David
Adam Walley
2010-04-26 09:43:29 UTC
Permalink
Hello, Ron.

I think what you are after is out there and ready for you to use. It is
called PocketPyGUI (or ppygui) and is a newer implementation than previous
attempts at porting tkinter to Windows Mobile / WinCE (maybe that wasn't
worded quite right - it's a package that allows easy Python access to the
system's standard controls). If you are after a simple way to implement the
standard system buttons, check boxes and other controls using Python code
then PocketPyGUI is perfect. Get it from sourceforge (ppygui.sourceforge.net).
I have used it with WM5, but hopefully it also works smoothly with WM2003.

Hope you get your app working, and come back to the list if you have any
questions.

Adam
Post by Ron Harris
Hi David,
Thanks for your response.
I'm pretty of a python newbie, have little time for programming, and also
must confess that I'm not sure exactly what you are talking about. I have
no experience with Cython and no ambition to create any kind of extensions
or wrapper for anything. I'd prefer to leave that up to someone else.
But thank you for suggestion. The original question still stands, which is
basically whether or not tkinter works with Windows 2003 Mobile Edition or
if no, whether it can easily be made to work with it.
I'm not really leaning toward using C and the SDK. I'd much rather do it
in Python but I need buttons to gather data for the application. I suppose
I could use a text interface if need be but I want input to require no more
effort or time than selecting and pushing a button.
Cheers,
Ron
------------------------------
*Sent:* Sun, April 25, 2010 12:56:48 PM
*Subject:* Re: [PythonCE] tkinter for dell axim x30
I'm wouldn't consider recompiling python or tkinter since it would
probably be easier to write the application in C using the Windows
Mobile Edition SDK.
If you're looking in that direction, perhaps it would be easier to use
Cython to build some wrappers to access the Windows ME SDK via Python.
That would give you the best of both worlds - python and a windowing
system that Just Works.
Cheers
David
_______________________________________________
PythonCE mailing list
http://mail.python.org/mailman/listinfo/pythonce
Antonio Tovar
2010-04-26 11:09:18 UTC
Permalink
Hello,

tkinter works in wm5 and wm6.5 but you have to install Tcl/Tk also.
Their are not installed with pythonce.

http://sourceforge.net/projects/tcltkce/files/

I'm using it.

Cheers,
Antonio
Ron Harris
2010-04-27 15:08:07 UTC
Permalink
Hi Antonio,

I looked into this option before posting to this list.  I couldn't determine what to do with the zip file.  Windows did not recognize the extension .patch that is on the two files in the zip file patch-for-tctlk846.zip nor could I find installation instructions on the download page.  Any suggestions on how to install?

Ron




________________________________
From: Antonio Tovar <***@gmail.com>
To: ***@python.org
Sent: Mon, April 26, 2010 4:09:18 AM
Subject: Re: [PythonCE] tkinter for dell axim x30

Hello,

tkinter works in wm5 and wm6.5 but you have to install Tcl/Tk also.
Their are not installed with pythonce.

http://sourceforge.net/projects/tcltkce/files/

I'm using it.

Cheers,
Antonio

Loading...