[maemo-developers] pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help

From: Daniel Martin Yerga dyerga at gmail.com
Date: Wed Mar 3 13:46:47 EET 2010
Hi.

On 02/03/10 19:57, Patrick Beck wrote:
>
> I have only a small logic problem. I have to call a renderer in
> append_column - None as in the documentation won't work.
>
> column = selector.append_column(store_icons, renderer) #i have to call a
> renderer, not None
>
> And the application raises a warning
>
> multi_cells_example.py:21: GtkWarning:
> gtk_tree_view_column_cell_layout_pack_start: assertion `!
> gtk_tree_view_column_get_cell_info (column, cell)' failed
>    column.pack_start(renderer, 0)
>
> but the application works :)
>

I don't know the theory about it, but the practice says that if you 
remove the line "column.pack_start(renderer, 0)", it doesn't show the 
warning.
More information about the maemo-developers mailing list