Re: [gtkmm] Right justified TreeView column
- From: Jarek Dukat <madmaxer poczta fm>
- To: Gtkmm <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Right justified TreeView column
- Date: 19 Jul 2002 19:31:11 +0200
On Fri, 2002-07-19 at 06:48, Daniel Evison wrote:
> Hi,
> How do you make a TreeView column to be right justified? I am using the
> Gtk::CellRendererText().
> I couldn't find out how to do this on the website or searching around in the
> source files...
> (I noted that Gtk::Label has a set_justify member function.)
CellRenderer has property xalign():
renderer->property_xalign() = 0; // left justify
renderer->property_xalign() = 0.5; // center
renderer->property_xalign() = 1; // right justify
--
struct Sig {
string name(" J a r e k D u k a t ");
string mail(" madmaxer (at) poczta (dot) fm ");
};
----------------------------------------------------------------------
Czy arogancja wladzy ma jakiekolwiek granice?
>>> http://link.interia.pl/f162c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]