Re: Gtk::ListStore - precision(2)



Oh thanks :)
I didn't see it.


Murray Cumming wrote:
> 
> On Thu, 2010-07-22 at 02:30 -0700, SigSev wrote:
>> I'am asking you how can I change float (or double) precision in
>> Gtk::ListStore?
>> 
>> I don't want four zeros in the end.
>> 
>> http://img340.imageshack.us/img340/3993/zrzutekranuln.png
> 
> If you are using the TreeView::append_column() convenience method then
> you might want to use TreeView::append_column_numeric() to specify a
> printf-style format:
> http://library.gnome.org/devel/gtkmm/stable/classGtk_1_1TreeView.html#ae6fc0051cc178bfacea2dec27c2d5a58
> 
> If you need more control then see:
> http://library.gnome.org/devel/gtkmm-tutorial/stable/sec-treeview.html.en#treeview-cellrenderer-details
> 
> -- 
> murrayc murrayc com
> www.murrayc.com
> www.openismus.com
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 

-- 
View this message in context: http://old.nabble.com/Gtk%3A%3AListStore---precision%282%29-tp29233955p29235816.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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