[maemo-developers] A slight problem while working with treeview columns
From: Daniel Martin Yerga dyerga at gmail.comDate: Thu Jul 16 17:18:36 EEST 2009
- Previous message: A slight problem while working with treeview columns
- Next message: A slight problem while working with treeview columns
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi. On Thu, 16 Jul 2009 19:33:54 +0530 Amit Sethi <amit.pureenergy at gmail.com> wrote: > Hi , > I was experimenting with the new hildon.GtkTreeView on > fremantle(in python) and I noticed that column title did not appear .I > am initiating the column with the column name like this : > > renderer = gtk.CellRendererPixbuf() > renderer.set_property("xalign", 0.0) > column = gtk.TreeViewColumn("Column_title", renderer) > > Now I noticed the case is not only with hildon.GtkTreeview but also > when I run the code only with gtk.treeview object. The code runs fine > on my PC (with gtk widgets, ofcourse). Also their is no error given on > scratchbox > > How can I make the column title appear? > You need to set the following method to the treeview: .set_headers_visible(True) Though I have read in some place (could be the HIG?) that this should be avoided in Fremantle. Regards. -- Daniel Martin Yerga http://yerga.net
- Previous message: A slight problem while working with treeview columns
- Next message: A slight problem while working with treeview columns
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]