Re: GtkTreeView renderer
- From: Jonathan Blandford <jrb redhat com>
- To: June-young Jang <flips postech ac kr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView renderer
- Date: 11 Apr 2002 11:42:30 -0400
June-young Jang <flips postech ac kr> writes:
Hello,
I want to represent tree structure
that has different kinds of data according to the "level" of each item.
I'm working with gtk2, so I think GtkTreeView is proper widget
for the purpose.
For example, a tree stucture model like the following.
AAA
111
222
BBB
111
222
CCC
111
222
Here, the first level is string (AAA, BBB, CCC...) and
the second level is integer (111, 222, ...),
so I want to use two different render for the strings and the integers.
If you want to just draw text, you can use
gtk_tree_view_column_set_cell_data_func to customize the value that's
being displayed.
Thanks,
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]