On Mon, Mar 14, 2005 at 08:16:36AM +0100, Hubert Sokolowski wrote:
> 
> renderer = gtk_cell_renderer_text_new ();
>     column = gtk_tree_view_column_new_with_attributes (col_titles[i],
>                                                        renderer,
>                                                        "text",
>                                                        cols[i],
>                                                        NULL);
>     gtk_tree_view_column_set_sort_column_id (column, cols_sort[i]);
>     gtk_tree_view_append_column (treeview, column);
> 
> is there a way to display the text in such a column aligned to the right?

Set renderer "xalign" property to 1.0.

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to