Re: TreeView::append_column_numeric() format?
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Igor Gorbounov" <igorbounov topazelectro ru>
- Cc: Murray Cumming <murrayc murrayc com>, gtkmm-list gnome org
- Subject: Re: TreeView::append_column_numeric() format?
- Date: Mon, 22 Nov 2004 11:51:56 +0100 (CET)
>>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?
Aren't these stream modifiers? Can you suggest an actual
append_column_numeric() method signature without using streams? Or another
alternative?
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]