Setting float precision in a TreeView
- From: Jesse Pavel <jpavel alum mit edu>
- To: gtk-app-devel-list gnome org
- Subject: Setting float precision in a TreeView
- Date: Wed, 5 Feb 2003 17:40:23 -0500
Hello,
I'm using a TreeView, ListStore, and CellRendererText to display
float values (G_TYPE_FLOAT), and currently the renderer shows
several digits of precision, while I would like to have it show
only 2 digits of precision. Is there some way I can configure
ther renderer to use fewer digits?
Thanks for help on this.
- Jesse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]