Re: TreeView::append_column_numeric() format?
- From: Igor Gorbounov <igorbounov topazelectro ru>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: TreeView::append_column_numeric() format?
- Date: Mon, 22 Nov 2004 13:50:48 +0300
Murray Cumming wrote:
[...]
So I would like to add another templated convenience method like this:
Gtk::TreeView::append_column_numeric(TreeModelColumn& model, numeric_format);
But what's the best way to specify the display format for the number? I'd
rather not use that nasty printf() style format. Does C++ have something
more suitable?
[...]
So why not use STL manipulators: std::setfill(), std::setw(), std::hex,
std::setprecision(),
std::setbase() and so on?
Igor Gorbounov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]