Re: [pygtk] Help with installation of PyGTK

2011-02-22 Thread Dieter Verfaillie
On 22/02/2011 16:55, Kurt Underhay wrote: > I'm using pygtk-all-in-one-2.22.6.win32-py2.6.msi to install PyGTK on > Windows 7 64bit. > > I've already installed Python2.6.6, and it works OK. However, when I try to > install PyGTK, I get the following message from the installer: > Python 2.6 could n

[pygtk] Help with installation of PyGTK

2011-02-22 Thread Kurt Underhay
Hi I'm using pygtk-all-in-one-2.22.6.win32-py2.6.msi to install PyGTK on Windows 7 64bit. I've already installed Python2.6.6, and it works OK. However, when I try to install PyGTK, I get the following message from the installer: Python 2.6 could not be located on your system. After which the ins

Re: [pygtk] Waiting for a callback to run

2011-02-22 Thread Stephen Langer
On Feb 20, 2011, at 10:09 PM, Robert Schroll wrote: > On 02/20/2011 03:08 PM, Stephen Langer wrote: >> This is what we do: >> >> class IdleBlockCallback: >> def __init__(self, func, args=(), kwargs={}): >> self.func = func >> self.args = args >> self.kwargs = k

Re: [pygtk] Label & Word Wrapping

2011-02-22 Thread Adam Tauno Williams
On Tue, 2011-02-22 at 09:02 -0500, Adam Tauno Williams wrote: > On Tue, 2011-02-22 at 21:13 +0800, Jason Heeris wrote: > > On 22 February 2011 20:30, Adam Tauno Williams > > wrote: > > > available space - just wrap incorrectly. Any hints for displaying > > > multi-lined / long-lined text in a

Re: [pygtk] Label & Word Wrapping

2011-02-22 Thread Adam Tauno Williams
On Tue, 2011-02-22 at 21:13 +0800, Jason Heeris wrote: > On 22 February 2011 20:30, Adam Tauno Williams wrote: > > available space - just wrap incorrectly. Any hints for displaying > > multi-lined / long-lined text in a label more elegantly? > I think I've had the same problem. You may be intere

Re: [pygtk] Label & Word Wrapping

2011-02-22 Thread Jason Heeris
On 22 February 2011 20:30, Adam Tauno Williams wrote: > available space - just wrap incorrectly.  Any hints for displaying > multi-lined / long-lined text in a label more elegantly? I think I've had the same problem. You may be interested in this: http://stackoverflow.com/questions/1893748/pygtk

Re: [pygtk] GIO async operations

2011-02-22 Thread Jason Heeris
On 22 February 2011 19:53, Christian Becke wrote: > Sorry, misread your message. The object is actually both: passed as an > argument to the callback, and accessible through the gio.AsyncResult by > calling its get_source_object method, see code below: Right, I did wonder about the redundancy, bu

[pygtk] Label & Word Wrapping

2011-02-22 Thread Adam Tauno Williams
Screenshot: I have the text: Informix 10.0 added the parameters BUFFERPOOL and BTSCANNER for performance tuning. The purpose of these parameters should be investigated. Which if I display without line wrap displays as one l

Re: [pygtk] GIO async operations

2011-02-22 Thread Christian Becke
Am 22.02.2011 12:37, schrieb Christian Becke: Am 22.02.2011 05:29, schrieb Jason Heeris: I'm confused about some of the GIO async functions. In my case, I want to use gio.File.replace_contents_async(). But what's the signature of the callback it takes? I would assume that the callback receives t

Re: [pygtk] GIO async operations

2011-02-22 Thread Christian Becke
Am 22.02.2011 05:29, schrieb Jason Heeris: I'm confused about some of the GIO async functions. In my case, I want to use gio.File.replace_contents_async(). But what's the signature of the callback it takes? I would assume that the callback receives the original File object, but looking at the doc