[PythonCE] tk/tcl

2007-01-21 Thread John Aherne
I have been playing around with tk/tcl over the last week at various times.

It seems to work quite well. I have loaded on a variety of demo type 
programs to see what works and what doesn't.

I have also run some programs for a day or so to see what happens on 
long-running tasks. So far it seems quite good.

One big issue is that the programs don't run as WM apps. This is a 
problem. I do need them to run like standard WM apps.

One of the other things I wanted was signature capture. But I have had 
problems using the stylus with the canvas. This may well be because I 
have no real idea how tk/tcl works. And what I need to change to get the 
mouse movements and the draw working.

The basic python port seems really good. I have been running tests with 
sockets and threads to talk to a simple twisted server and so far 
without making it too complicated it has all hung together,

I imagine that the port for python without the WM gui support will slow 
down take-up.

I see that someone was starting to look at Venster for CE, but I haven't 
heard any more. That seems like it might be a lot of work.

I did take a quick look at wxpyce, but got the problem of not enough 
memory, so I backed off for the moment.

I'm now wondering what my best next move might be.

Any suggestions would be welcomed.

Thanks

John Aherne




___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] tk/tcl

2007-01-11 Thread Bandung

(I sent this message  2 hrs earlier with a couple of embedded files.  The
attached files seem to be the cause for holding up the posting of the
message on the board)   Anyways,  here are the final steps for getting your
installation working


---.

You are almost there!  Looks like you need tcl.  Download this file and
unzip it.  it is a later version of tcl than the one that you were using.

tcltk8_4_12_ce-arm.zip

Place the lib directory under your \\Program files\\  directory.  
You can ignore the directory called bin which contains the three files,
celib, tcl84.dll and tk84.dll since you have already copied into your
Windows directory.

So your Python installation directory structure now looks like this...

\\Program files\\Python25
\\Program files\\lib
\\Windows\\ ...those three files with the names of the files that were in
the directory called bin

Your are now ready to start coding!  

With the files from this lib, you will also be able to use bwidgets as
well as Tkinter widgets.  There are also iwidgets which I haven't tried yet. 
Plus, if you want to tcl  then copy the tcls84h.exe and wish84.exe files
into your Windows directory as well.  And if you want a cool table widget,
you can use the following file.  Place it in your lib directory along side
of the bwidget directory etc.

Tktable2.zip







John Aherne wrote:
 
 Bandung wrote:
 Place these two files in your \\Python25\\Lib   directory and then run
 root =
 Tkinter.Tk() again.

 http://www.nabble.com/file/5569/Tkinter.py Tkinter.py 
 http://www.nabble.com/file/5570/Tkinter.pyc Tkinter.pyc 

 again, soft reset is always a good idea at this point.




   
 Thanks for the 2 files.
 
 I removed everything and started from scratch again. Soft reset after 
 each stage.
 
 Installed python25
 Copied in celib,tcl84,tk84 into \\windows.
 Copied Tkinter.py, Tkinter.pyc into python25\lib along with os.py that 
 was there already.
 
 Import Tkinter is OK
 root = Tkinter.Tk() gives exactly same problem as before
 
 Invalid command name 'tcl_findLibrary'
 
 Makes me think some fundamental bit is missing from the python25 install.
 
 Regards
 
 John Aherne
 
 
 ___
 PythonCE mailing list
 PythonCE@python.org
 http://mail.python.org/mailman/listinfo/pythonce
 
 

-- 
View this message in context: 
http://www.nabble.com/tk-tcl-tf2953745.html#a8278075
Sent from the Python - pythonce mailing list archive at Nabble.com.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tk/Tcl Widgets

2006-05-19 Thread Michael Foord
Bandung wrote:
 This is a nice find.  I agree with you that it certainly shows what's
 possible.  Alas, but I have given my heart to Pythoning and I can't bear to
 learn another language.  
   
Actually, my point is that seeing as this is done with Tk - it ought to 
be possible with PythonCE !

:-)

(Tkinter is just a bridge into Tk/Tcl)

It's a shame IronPython can't be made to work with the compact .NET 
framework. :-(


All the best,


Fuzzyman
http://www.voidspace.org.uk/python/shareware.shtml

 I have waded into this Tkintering thingy because of the lack of an up to
 date wxPython capability for the poacketpc.  I would probably consider
 learning wx before embarking on tcl.  

 But boy, is it tempting!!!  If I'm still being frustrrated with my existing
 pocketpc development tools three months from now, then its off to tcling I
 go.
 --
 View this message in context: 
 http://www.nabble.com/Tk-Tcl-Widgets-t1646602.html#a4461524
 Sent from the Python - pythonce forum at Nabble.com.

 ___
 PythonCE mailing list
 PythonCE@python.org
 http://mail.python.org/mailman/listinfo/pythonce

   

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Tk/Tcl Widgets

2006-05-18 Thread Michael Foord
Hello all,

I wondered if you'd seen this :

http://wiki.tcl.tk/8442

It's a GUI built with Tk/Tcl for the PocketPC. It certainly shows what 
is possible. :-)

Fuzzyman
http://www.voidspace.org.uk/python/shareware.shtml
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tk/Tcl Widgets

2006-05-18 Thread Bandung

This is a nice find.  I agree with you that it certainly shows what's
possible.  Alas, but I have given my heart to Pythoning and I can't bear to
learn another language.  

I have waded into this Tkintering thingy because of the lack of an up to
date wxPython capability for the poacketpc.  I would probably consider
learning wx before embarking on tcl.  

But boy, is it tempting!!!  If I'm still being frustrrated with my existing
pocketpc development tools three months from now, then its off to tcling I
go.
--
View this message in context: 
http://www.nabble.com/Tk-Tcl-Widgets-t1646602.html#a4461524
Sent from the Python - pythonce forum at Nabble.com.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce