Paulo Flabiano Smorigo wrote:
On Mon, 2009-11-16 at 11:56 -0200, Paulo Flabiano Smorigo wrote:
Hi Everybody,
How do I format a float column in a TreeView? The column appears with
six columns for decimals, like "11.330000". I just want two columns
for decimals, like "11.33".
The formnating argument was something I was just looking up yesterday.
It takes the same type of formatting as a printf statement. For a float
with two numbers after the decimal point use
m_treeview.append_column_numeric("downloaded",m_colrec.m_col_downloaded,"%4.2f");
__________ Information from ESET Smart Security, version of virus signature
database 4616 (20091117) __________
The message was checked by ESET Smart Security.
http://www.eset.com
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list