Re: [pygtk] ListStore iter vs. path

2007-12-03 Thread Greg Ewing
Caleb Marcus wrote: One question I have is, what's the difference between iters and paths? At a guess, I'd say that iters are likely to be more efficient, as they can hook directly into the underlying data structure, whereas a path requires some sort of lookup operation each time it's used. Whe

[pygtk] ANNOUNCE: GnomePython 2.21.0 (unstable)

2007-12-03 Thread Gustavo J. A. M. Carneiro
GnomePython 2.21.0 has been just released. This a development release for testing. I am especially interested in people testing the new WAF build system. GnomePython provides python interfacing modules for most of the GNOME Developer Platform libraries (except those already wrapped somewhere el

[pygtk] context menus for ListViews

2007-12-03 Thread Caleb Marcus
How can I create context menus for ListView elements? The PyGTK Tutorial doesn't go into this, and I can't follow the GtkTreeView tutorial as it's not in Python. signature.asc Description: This is a digitally signed message part ___ pygtk mailing list

[pygtk] ListStore iter vs. path

2007-12-03 Thread Caleb Marcus
I'm just starting to learn PyGTK and GUI programming in general, and Tree/ListViews confuse me tremendously. One question I have is, what's the difference between iters and paths? It seems like paths are much easier to use, because I can simply use model[path][column] to access any part of the List

Re: [pygtk] utf8 validating string

2007-12-03 Thread Yann Leboulanger
John Ehresman wrote: > Yann Leboulanger wrote: >> John Ehresman wrote: >>> I'm confused here; I think your last example passes '\x0' to a gtk >>> function which does not work. Either remove the '\x0' or do something >>> else with \x0 here. Or am I missing something? >>> >> >> removeing the \x0 is

Re: [pygtk] utf8 validating string

2007-12-03 Thread Yann Leboulanger
John Ehresman wrote: > I'm confused here; I think your last example passes '\x0' to a gtk > function which does not work. Either remove the '\x0' or do something > else with \x0 here. Or am I missing something? > removeing the \x0 isn't a problem, a replce can do that, but is it the only char t

Re: [pygtk] utf8 validating string

2007-12-03 Thread Yann Leboulanger
John Ehresman wrote: > Yann Leboulanger wrote: >> I'd like not to have it. But I getthis string by gpg-decodding a message >> send by Miranda IM. I think it's a bug in their GnuPG implementation, >> but anyway I'd like my client to detect those bad string and a) print >> message correctly if I can

[pygtk] Re: pygtk: Frameworks (e.g. kiwi)

2007-12-03 Thread Jeffrey Barish
Thomas Guettler wrote: > just a general question: > > Does anyone use a framework like kiwi or pygtkmvc to use pygtk? > > Which one do you use and why? I use pygtkmvc. It is simple to use and elegant. It does not introduce another dependency. It makes MVC-style programming easy. I have not u

[pygtk] gtk.statusicon menu on win32

2007-12-03 Thread Marcos Pinto
in windows, the gtk.statusicon menu "scrolls" into view, which is very slow and frustrating. any idea how i can stop this? it doesnt scroll on linux and i dont see what would cause it ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailm

Re: [pygtk] Re: A Timer and refreshing TextView

2007-12-03 Thread Steve McClure
On Dec 3, 2007, at 9:18 AM, Mark Stahler wrote: John Finlay wrote: Nathaniel Smith wrote: On Sun, Dec 02, 2007 at 09:34:40PM -0800, Aravind Vijayakumar wrote: Since you are opening the file afresh each time in refreshLog, won't you be reading the first line each time? The .read() method

[pygtk] Re: A Timer and refreshing TextView

2007-12-03 Thread Mark Stahler
John Finlay wrote: Nathaniel Smith wrote: On Sun, Dec 02, 2007 at 09:34:40PM -0800, Aravind Vijayakumar wrote: Since you are opening the file afresh each time in refreshLog, won't you be reading the first line each time? The .read() method in Python reads the whole file, not just the f

[pygtk] pygtk: Frameworks (e.g. kiwi)

2007-12-03 Thread Thomas Guettler
Hi, just a general question: Does anyone use a framework like kiwi or pygtkmvc to use pygtk? Which one do you use and why? Thomas ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.a

Re: [pygtk] [Fwd: PyGTK in Vista?]

2007-12-03 Thread Yann Leboulanger
Rafael Villar Burke a écrit : Sujet: PyGTK in Vista? Expéditeur: "Nicklas Larsson" <[EMAIL PROTECTED]> Date: Sat, 1 Dec 2007 07:44:48 +0100 Destinataire: [EMAIL PROTECTED] Destinataire: [EMAIL PROTECTED] Hi, I have tri

[pygtk] [Fwd: PyGTK in Vista?]

2007-12-03 Thread Rafael Villar Burke
--- Begin Message --- Hi, I have tried to install PyGTK in Microsoft Windows Vista but failed. I have installed GTK+ runtime, and that wen well, but I got dialogs during installation of PyCairo, PyGObject, and PyGTK telling me that some things could not be created. At the end however, they tell m

Re: [pygtk] A Timer and refreshing TextView

2007-12-03 Thread John Finlay
Nathaniel Smith wrote: On Sun, Dec 02, 2007 at 09:34:40PM -0800, Aravind Vijayakumar wrote: Since you are opening the file afresh each time in refreshLog, won't you be reading the first line each time? The .read() method in Python reads the whole file, not just the first line. rea