[pygtk] how to contribute

2001-03-29 Thread Fabien COUTANT

Hello,

I'm working with pygtk-0.6.6 / Python 1.5.2 and would like to implement
some missing bindings to it, since it doesn't seem too difficult, and
I'm familiar with Python and it's API.

I saw by browsing the list, that the next major version is already
scheduled as version 2.0, but what I really want is extend the current,
stable version.

How should I proceed ? (cvs access  branch, agreement from maintainers,
etc...)

PS: this will be used to complete a tool I wrote:
http://www.fcoutant.freesurf.fr/gladepyc.html

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



Re: [pygtk] how to contribute

2001-03-29 Thread Alexandre Fayolle

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.

Cheers,

Alexandre Fayolle
-- 
http://www.logilab.com 
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).

___
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



Re: [pygtk] how to contribute

2001-03-29 Thread Tom Cato Amundsen

On Thu, Mar 29, 2001 at 10:27:05AM +0200, Fabien COUTANT wrote:
 Hello,
 
 I'm working with pygtk-0.6.6 / Python 1.5.2 and would like to implement
 some missing bindings to it, since it doesn't seem too difficult, and
 I'm familiar with Python and it's API.
 
You are using the lowlevel _gtk api. I think this is removed in the
extension class version for gtk 2.0, so gladepyc will soon be a dead
end...

Wouldn't it be an idea to use the gtk api instead, or just port libglade
properly to win32?

 I saw by browsing the list, that the next major version is already
 scheduled as version 2.0, but what I really want is extend the current,
 stable version.
 
 How should I proceed ? (cvs access  branch, agreement from maintainers,
 etc...)
 
 PS: this will be used to complete a tool I wrote:
 http://www.fcoutant.freesurf.fr/gladepyc.html
 
 -- 
 Hope this helps,
 Fabien.
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk
 

-- 
Tom Cato Amundsen [EMAIL PROTECTED]
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] Changing a Buttons text

2001-03-29 Thread mallum

Hi all;

Is there an easy way to alter the text contained within an already rendered
button ?

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



Re: [pygtk] Changing a Buttons text

2001-03-29 Thread Ricardo Caesar Lenzi

Em qui, 29 mar 2001, mallum escreveu:
 Hi all;
 
 Is there an easy way to alter the text contained within an already rendered
 button ?
 
 mallum
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk

Try this:

bt.children()[0].set_text('new text')

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