Python and Gtk cross-platform?

Robert Kern kern at caltech.edu
Tue Mar 7 20:53:16 EST 2000


In article <Pine.LNX.4.10.10003071711430.31413-100000 at us2.mayo.edu>,
	Travis Oliphant <olipt at mayo.edu> writes:
>[Somebody else writes: --RTK]
>> > Hello,
>> > 
>> > Are Python programs source code cross-platform between Linux and Win32 using
>> > the Gtk GUI toolkit?  In other words, using the Gtk toolkit will Python
>> > programs run identically without changes on both platforms?
>> > 
>> > Thanks!
>> 
>> No.
>> 
>> Gtk was designed for the X window system.
>> 
> 
> I don't think this is quite correct.  Gtk was designed on top of GDK so
> that it could be ported if GDK were ported.  There is a well-tested
> X-windows port of GDK, and a "beta" Win32 port.  

And even better, someone has done a port of PyGTK to Win32, too.

http://theopenlab.uml.edu/pygtkwin/

Because of filesystem case (in)sensitivity issues, GTK.py has been renamed,
so you might have to modify application code.

[snip]

-- 
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter



More information about the Python-list mailing list