Re: [gtkmm] Right justified TreeView column



You're right, it seems that that does just align the column heading.  (Good
to know though...)
I'll look into how to do it in C if no-one on this group relies soon - I'm
presuming someone must have made a TreeView with say currency amounts in it
that needed to be right justified.
thanks,
Dan

----- Original Message -----
From: "Murray Cumming" <murrayc usa net>
To: "Daniel Evison" <devison pacificit co nz>
Cc: "gtkmm mailing list" <gtkmm-list gnome org>
Sent: Friday, July 19, 2002 7:50 PM
Subject: Re: [gtkmm] Right justified TreeView column


> On Fri, 2002-07-19 at 05: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.)
>
> Have you tried this:
>
http://www.gtkmm.org/gtkmm2/reference/html/classGtk_1_1TreeViewColumn.html#a
41
> ? It seems like that might just align the column title.
>
> If you can find out how to do it in C, from the GTK+ people, then we can
> find it in C++. Or find an example application that does this somehow.
>
> --
> Murray Cumming
> murrayc usa net
> www.murrayc.com
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]