simonced / urbanterrorlauncher

Automatically exported from code.google.com/p/urbanterrorlauncher
0 stars 0 forks source link

Gtk Warning after adding colors in cells #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After adding the cell background colors, some warning appears in the console.
The line like: `column_name.pack_start(cell, True)`

Makes : 
`./UrbanTerror_launcher.py:268: GtkWarning: 
gtk_tree_view_column_cell_layout_pack_start: assertion `! 
gtk_tree_view_column_get_cell_info (column, cell)' failed
  column_player_ping.pack_start(cell, False)`

Is it because the same CellRenderer is used?

Original issue reported on code.google.com by simon...@gmail.com on 11 Aug 2010 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by simon...@gmail.com on 18 Aug 2010 at 8:06

GoogleCodeExporter commented 9 years ago
Problem solved at last submit.
Better understanding of TreeView. No need of Pack_start for only one data to 
display because already defined in the column creation method.

Original comment by simon...@gmail.com on 31 Aug 2010 at 2:33