Re: [2] [pygtk] replace tab with spaces

2002-07-22 Thread Christian Reis
On Tue, Jul 23, 2002 at 09:18:51AM +0800, James Henstridge wrote: > Ralph Walden wrote: > > >I have also noticed this. I work with Irix and with HPUX, and I only > >see this on HPUX. I figured there was a bug somewhere. The workaround > >is, of course, > > > >def on_insert_text(widget,text

[pygtk] pygtk-1.99.12

2002-07-22 Thread James Henstridge
[ accidentally pressed send before composing all of the message :( ] I have uploaded a new version of PyGTK. This version contains bug fixes and some new features for the tree view wrapper. It should be safe as a drop in replacement for 1.99.11 (no API breakage). Here is a summary of the new f

[pygtk] pygtk-1.99.12

2002-07-22 Thread James Henstridge
I have uploaded a new version of PyGTK. This version contains bug fixes and some new features for the tree view wrapper. It should be safe as a drop in replacement for 1.99.11 (no API breakage). Here is a summary of the new features: * docgen.py script extracts some documentation from .

Re: [2] [pygtk] replace tab with spaces

2002-07-22 Thread James Henstridge
Ralph Walden wrote: >Christian Reis wrote: > > > >>On a related note, has anybody noticed that the text parameter to >>insert_text will include random garbage beyond the length send in? Is >>this by design, James? >> >> >> > >I have also noticed this. I work with Irix and with HPUX, and I

[pygtk] pygtk2 compatibility with old pygtk

2002-07-22 Thread Joe Van Andel
The Redhat 7.3 RPM for pygkt2-1.99.8 provides /usr/lib/python2.2/site-packages/gtk and /usr/lib/python2.2/site-packages/gtk/__init__.py (along with lots of other files). If I install the 'old' pygtk for python2.2, python2.2 sees the pygtk2 files, rather than the 'old' version. In particular,

[pygtk] Announce: Kiwi-0.4.5

2002-07-22 Thread Christian Reis
Hi there, I'm releasing today version 0.4.5 of Kiwi, the interface library that wraps many pygtk widgets and offers an MVC-like abstraction through base classes. This is the fourth public release of Kiwi, and it is a much improved and more useful library than ever (wow). If you are looking for s

Re: [2] [pygtk] replace tab with spaces

2002-07-22 Thread Ralph Walden
Christian Reis wrote: > On a related note, has anybody noticed that the text parameter to > insert_text will include random garbage beyond the length send in? Is > this by design, James? > I have also noticed this. I work with Irix and with HPUX, and I only see this on HPUX. I figured there w

[pygtk] gtk theme switch

2002-07-22 Thread Philippe Gendreau
Hi, I have been trying to offer a theme selection in an application, but I can't get the chosen theme to update the screen. I'm not sure if I'd like it to update only the application it runs from or the whole desktop theme, but if I could get at least get one of both working I'd be happy. Ideally

Re: Re:[2] [pygtk] replace tab with spaces

2002-07-22 Thread Christian Reis
On Mon, Jul 22, 2002 at 11:10:06AM -0400, Steve McClure wrote: > Sorry, I was just explaining that insert-text was indeed the correct > signal to use and that Pier had possibly overlooked the length of the > buffer was being passed as it was stated in the original question that > there were spaces

Re: Re:[2] [pygtk] replace tab with spaces

2002-07-22 Thread Steve McClure
On Mon, 2002-07-22 at 11:01, Christian Reis wrote: > On Mon, Jul 22, 2002 at 09:54:06AM -0400, Steve McClure wrote: > > > I'm writing a simple editor, and I want that when a user press a > > > tab-key this char is automatically replaced with some spaces. I've > > > tried to added a callback to the

Re: Re:[2] [pygtk] replace tab with spaces

2002-07-22 Thread Christian Reis
On Mon, Jul 22, 2002 at 09:54:06AM -0400, Steve McClure wrote: > > I'm writing a simple editor, and I want that when a user press a > > tab-key this char is automatically replaced with some spaces. I've > > tried to added a callback to the "insert-text" signal but using this > > event I obtain a b

Re: [2] [pygtk] replace tab with spaces

2002-07-22 Thread Christian Reis
On Mon, Jul 22, 2002 at 03:04:54PM +0200, Pier Carteri wrote: > I'm writing a simple editor, and I want that when a user press a > tab-key this char is automatically replaced with some spaces. I've > tried to added a callback to the "insert-text" signal but using this > event I obtain a buffer wit

Re: Re:[2] [pygtk] replace tab with spaces

2002-07-22 Thread Steve McClure
On Mon, 2002-07-22 at 09:04, Pier Carteri wrote: > Hi again, > Thanks Mr Reis for your answer, but this is not what I want to do; probably my >question was not so clear, > so I rewrite it in a more accurate way (at least I hope :-) > > I'm writing a simple editor, and I want that when a user pr

Re:[2] [pygtk] replace tab with spaces

2002-07-22 Thread Pier Carteri
Hi again, Thanks Mr Reis for your answer, but this is not what I want to do; probably my question was not so clear, so I rewrite it in a more accurate way (at least I hope :-) I'm writing a simple editor, and I want that when a user press a tab-key this char is automatically replaced with som