Re: GtkTreeView matters...

From: Date: Sat, 30 Sep 2006 12:57:47 +0000
Subject: Re: GtkTreeView matters...
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7298@lists.php.net to get a copy of this message
On 29 Sep 2006 at 9:12, Scott Mattocks wrote: > 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); As people say 'round here: "I couldn't find my mule, turns out I was sitting astride it." Cheers, -- André =========================================================== Black Holes were created when God divided by zero.

« previous php.gtk.general (#7298) next »