Re: [pygtk] Memory leak when using pangocairo for animation

2008-10-01 Thread Kyle Schaffrick
On Tue, 30 Sep 2008 09:28:51 -0400 Seth Remington [EMAIL PROTECTED] wrote: Hello, I am not a member of the list but can confirm the OP's discovery of the memory leak. I was Googling for this and found this mailing list post and then noticed that the date was only three days ago (thanks for

Re: [pygtk] cell.set_property and colors - SOLVED

2008-10-01 Thread Alessandro Dentella
On Thu, Sep 25, 2008 at 05:48:54PM +0200, Alessandro Dentella wrote: Hi, I want to color single cells in a TreeView (totals of a table). Since I'm using cell_data_func to set value of property text I tried using that same function to set colors but it turns out all cells get

[pygtk] Cell renderer repository?

2008-10-01 Thread Alessandro Dentella
Hi, I'm in the need to write a cell render for what I believe a common thing: a text editor for log text that is not easy to edit in the standard CellRendererText. I'm wandering if there exist already such a renderer or a repository of cell renderer ready to use. A second one I need

[pygtk] limit width of gtk.ComboBox

2008-10-01 Thread Karl Ostmo
From the PyGTK FAQ (http://faq.pygtk.org/index.py?req=all#12.2), it appears that there is not a way to limit the horizontal space the widget requests. I am aware of the set_ellipsize() method of gtk.Label ( http://www.pygtk.org/docs/pygtk/class-gtklabel.html#method-gtklabel--set-ellipsize), but

Re: [pygtk] Downloading a file without locking the GUI

2008-10-01 Thread Timo
Thomas Guettler schreef: Timo schrieb: I want to download a file by pressing a button in my GUI, all works so that's okay. Offcourse my GUI locks up during the download. I tried some things like writing a thread and using gobject.idle_add. But none of these worked. Anyone can point me out

Re: [pygtk] Downloading a file without locking the GUI

2008-10-01 Thread Steve McClure
On Oct 1, 2008, at 2:16 PM, Timo wrote: Thomas Guettler schreef: Timo schrieb: I want to download a file by pressing a button in my GUI, all works so that's okay. Offcourse my GUI locks up during the download. I tried some things like writing a thread and using gobject.idle_add. But

Re: [pygtk] Downloading a file without locking the GUI

2008-10-01 Thread John Stowers
On Wed, 2008-10-01 at 20:16 +0200, Timo wrote: Thomas Guettler schreef: Timo schrieb: I want to download a file by pressing a button in my GUI, all works so that's okay. Offcourse my GUI locks up during the download. I tried some things like writing a thread and using gobject.idle_add.

Re: [pygtk] limit width of gtk.ComboBox

2008-10-01 Thread Casey McGinty
I think this is what you want. cell = gtk.CellRendererText() cell.props.ellipsize = pango.ELLIPSIZE_END ls = gtk.ListStore( object) cb = gtk.ComboBox( ls) cb.pack_start( cell, True) - Casey ___ pygtk mailing list

Re: [pygtk] Cell renderer repository?

2008-10-01 Thread Mitko Haralanov
On Wed, 1 Oct 2008 17:22:58 +0200 Alessandro Dentella [EMAIL PROTECTED] wrote: I'm wandering if there exist already such a renderer or a repository of cell renderer ready to use. A second one I need is Date/DateTimeRenderer. I guess I'm not the first one that need such a beast... At