Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-08-14 Thread Geoff Bache
On Mon, 28 Jul 2003, Christian Reis wrote: > On Mon, Jul 28, 2003 at 06:10:40PM +0200, Geoff Bache wrote: > > The TreeView has a style, but changing it only seems to affect the arrows > > at the left of the display. The actual information is in the columns, > > which are displayed by the CellRen

Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Christian Reis
On Mon, Jul 28, 2003 at 06:10:40PM +0200, Geoff Bache wrote: > The TreeView has a style, but changing it only seems to affect the arrows > at the left of the display. The actual information is in the columns, > which are displayed by the CellRenderer. But neither of these is a Widget, or > has a

Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Geoff Bache
On Mon, 28 Jul 2003, Christian Reis wrote: > On Mon, Jul 28, 2003 at 05:20:15PM +0200, Geoff Bache wrote: > > Yes, really. > > > > My app is a testing framework. It is more important that it is like > > other testing frameworks than that it is like other GTK applications. > > The rows represent t

Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Christian Reis
On Mon, Jul 28, 2003 at 05:20:15PM +0200, Geoff Bache wrote: > Yes, really. > > My app is a testing framework. It is more important that it is like > other testing frameworks than that it is like other GTK applications. > The rows represent tests that turn green when successful or red when > fail

Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Geoff Bache
On Mon, 28 Jul 2003, Christian Reis wrote: > On Mon, Jul 28, 2003 at 04:01:14PM +0200, Geoff Bache wrote: > > Unfortunately, I don't want the rows to turn dark blue (I would prefer > > that selection was indicated by italicising the text or by some other > > means). I have tried changing everythin

Re: [pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Christian Reis
On Mon, Jul 28, 2003 at 04:01:14PM +0200, Geoff Bache wrote: > Unfortunately, I don't want the rows to turn dark blue (I would prefer > that selection was indicated by italicising the text or by some other > means). I have tried changing everything imaginable on both the view As the #python folks

[pygtk] Changing the colour of row selection in gtk.TreeView

2003-07-28 Thread Geoff Bache
Some help needed with PyGTK2: I create a gtk.TreeView in the following way: view = gtk.TreeView(self.model) renderer = gtk.CellRendererText() column = gtk.TreeViewColumn("Title", renderer, text=0, background=1) view.append_column(column) When displayed, this gives me a nice tree view. The rows