Re: gladepyc (was Re: [pygtk] how to contribute)

2001-03-30 Thread James Henstridge

On Thu, 29 Mar 2001, Fabien COUTANT wrote:

 On Thursday, 29 March 2001, you (Alexandre Fayolle) wrote:
  On Thu, 29 Mar 2001, Fabien COUTANT wrote:
  
   PS: this will be used to complete a tool I wrote:
   http://www.fcoutant.freesurf.fr/gladepyc.html
  
  This could be a very useful tool. What has stopped me using glade so far
  is the lack of Windows support which is one of the target of the
  application I'm working on. I think I'll give a try to gladepyc soon.
 
 Hello Alexandre,
 
 Gladepyc will happily generate code that runs on Unix, Vms as well as
 Windows.
 
 There is glitch however:  non-ASCII characters are encoded with UTF-8 on
 Windows' Gtk and ISO-Latin1 (or other 8-bit encoding) on Unix' Gtk (1.2
 at least); So if you have some of those characters entered in Glade's
 XML on one side, they are not rendered correctly on the other side.  It
 works perfect only if you use the generated code on the same platform
 that Glade's XML was designed on.

Well, with gtk 2.0, hopefully this sort of issue will be a thing of the
past, as it uses utf8 on all platforms.

 
 That said, Glade for Windows seemed reasonably stable, from what I
 tested a few months ago.  All this GTK/Glade stuff for Windows is
 unofficial though -- yet.

There are ports of glade (see the gtkada website) and libglade available
for win32.  I usually recommend libglade to most people, as some of the
stuff it does is non trivial (uline accel handling is the big one).

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: gladepyc (was Re: [pygtk] how to contribute)

2001-03-29 Thread Fabien COUTANT

On Thursday, 29 March 2001, you (Alexandre Fayolle) wrote:
 On Thu, 29 Mar 2001, Fabien COUTANT wrote:
 
  PS: this will be used to complete a tool I wrote:
  http://www.fcoutant.freesurf.fr/gladepyc.html
 
 This could be a very useful tool. What has stopped me using glade so far
 is the lack of Windows support which is one of the target of the
 application I'm working on. I think I'll give a try to gladepyc soon.

Hello Alexandre,

Gladepyc will happily generate code that runs on Unix, Vms as well as
Windows.

There is glitch however:  non-ASCII characters are encoded with UTF-8 on
Windows' Gtk and ISO-Latin1 (or other 8-bit encoding) on Unix' Gtk (1.2
at least); So if you have some of those characters entered in Glade's
XML on one side, they are not rendered correctly on the other side.  It
works perfect only if you use the generated code on the same platform
that Glade's XML was designed on.

That said, Glade for Windows seemed reasonably stable, from what I
tested a few months ago.  All this GTK/Glade stuff for Windows is
unofficial though -- yet.

-- 
Hope this helps,
Fabien.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk