Re: TreeView::append_column_numeric() format?
- From: pks timing com
- To: "Murray Cumming" <murrayc murrayc com>, gtkmm-list gnome org
- Cc:
- Subject: Re: TreeView::append_column_numeric() format?
- Date: Mon, 22 Nov 2004 10:44:22 -0700
pks timing com writes:
>
> I'll quit spamming the list now :)
I lied!
about the conversion operators ... anything one would expect
to pass to std::transform() for example.
and by the time you employ the functor idea, you can give the
user the choice about the preferred syntax (which they'll
implement themselves if they care enough of course):
append_column(float_column, PrintfFormatter("%10.3f"))
const gint width = 10;
const gint sigdigs = 3;
append_column(float_column, OtherFormatter(width, sigdigs));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]