Re: GtkTreeView question
- From: Jonathan Blandford <jrb redhat com>
- To: seb <sebastien bacher insa-lyon fr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView question
- Date: 09 Apr 2002 21:37:15 -0400
seb <sebastien bacher insa-lyon fr> writes:
Hi
I've some questions about GtkTreeView :
1/ Does somebody know how to change float format in a GtkTreeView ?
ie: with a G_TYPE_FLOAT and GtkCellRendererText, 10.1 is display as "10.1000000"
in spite of "10.1". How change display format ? Is there a CellRenderer for number ?
2/ Is it possible to change properties of singles cells (like background color, font size) ?
3/ Same question for rows
You can format any cell yourself in a custom way by using
gtk_tree_view_column_set_cell_data_func(). This will give you the
chance to set any of the attributes on your cell renderer.
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]