Formating non-text cells in an Gtk::TreeView
- From: Bob Caryl <bob fis-cal com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Formating non-text cells in an Gtk::TreeView
- Date: Mon, 08 Aug 2005 13:29:22 -0500
Hey guys:
I have a TreeView that has a model with several columns set up as
doubles. When these are displayed by the TreeView, they have six zeros
trailing the decimal point. I want to do two things with these:
1) reduce the displayed precision to two decimal places.
2) align all the displayed numbers to the right instead of the left.
I've been perusing the docs, and I just have missed where it shows how
to do these two things. Can anyone shoot me a URL?
Thanks!
Bob Caryl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]