Re: [pygtk] Double row in a liststore, or in a Treeview

2011-10-28 Thread Andrew Steele
Below is a basic example. Essentially, when populating the ListStore you need to insert '\n' to indicate the line break. #!/usr/bin/env python import gtk window = gtk.Window() window.connect(destroy, lambda q: gtk.main_quit()) liststore = gtk.ListStore(str) liststore.append([apple.jpg\n314KB])

Re: [pygtk] Double row in a liststore, or in a Treeview

2011-10-28 Thread craf
Hi Andrew. Thank you for your answer!! The code works very Fine!. Best Regards Cristian. -Mensaje original- De: Andrew Steele andrew.ste...@gmx.com Para: craf pyclut...@gmail.com Cc: Pygtk pygtk@daa.com.au Asunto: Re: [pygtk] Double row in a liststore, or in a Treeview Fecha: Fri, 28

[pygtk] Double row in a liststore, or in a Treeview

2011-10-27 Thread craf
Hi. I wonder if it is possible that a liststore has a double row, such as using the Firefox download page. Example - |Downloads|x|