Re: [pygtk] Threaded PYgtk apps and gtk.main_quit()

2007-02-22 Thread David Johansson
Hi, I think you need to stop all threads that you started, take a look at http://aruiz.typepad.com/siliconisland/2006/04/threads_on_pygt.html /david 2007/2/21, Rob Brown-Bayliss [EMAIL PROTECTED]: I have an application, that has a couple of threads and also runs a few external processes,

Re: [pygtk] Putting a PyObject in a ListStore

2006-09-18 Thread David Johansson
Hi, you will have to set a cell_data_func for that column. Take a look at the pygtk tutorial http://pygtk.org/pygtk2tutorial/sec-CellRenderers.html#sec-CellDataFunction /david 2006/9/16, Noah Schwartz [EMAIL PROTECTED]: Hi, I'd like one of the columns in my ListStore to contain a

Re: [pygtk] Cell background in a TreeView

2005-11-17 Thread David Johansson
2005/11/17, Tim Evans [EMAIL PROTECTED]: Try setting the property cell-background-gdk rather than background-gdk. GtkCellRendererText::background-gdk colours the background of the text, and excludes border areas and the like, while GtkCellRenderer::cell-background-gdk colours the background

[pygtk] Cell background in a TreeView

2005-11-16 Thread David Johansson
Hi, I want to change the background of an entire row in a TreeView. Basically I want to make my own 'rule hint', but instead of every other row I want to have bigger groups of rows with the same background. For example a list with: 3 rows colour blue, then 2 rows colour red, then 1 row colour

Re: [pygtk] Looking for examples of gtkmozembed widget

2005-11-01 Thread David Johansson
Hi, have you seen the articles over at pygtk.org? http://www.pygtk.org/articles.html Creating a GNOME Web Browser with Python should be the one you want. Below is is the smallest example code I could think of. /david 8