Re: GtkTreeView matters...
| From: | Scott Mattocks | Date: | Fri, 29 Sep 2006 13:12:54 +0000 |
| Subject: | Re: GtkTreeView matters... | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7294@lists.php.net to get a copy of this message | ||
André Jansen wrote:
First of all, I really haven't been able how to figure out how to get a column in a GtkTreeView to display its contents right-aligned (for numeric values). I am probably overlooking something, I dug through the docs for Gtk2 also, but no luck.You have to set the properties of the cell renderer for the column. // 0 == left aligned / .5 == centered / 1 == right aligned $cell->set_property('xalign', 1); -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.com