Re: how to align text to right in GtkCellRendererText
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Hubert Sokolowski <h sokolowski wsisiz edu pl>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how to align text to right in GtkCellRendererText
- Date: Mon, 14 Mar 2005 08:31:52 +0100
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]