which number a GtkTreeViewColumn is in a GtkTreeView
- From: Razvan <razvaneduard xnet ro>
- To: gtk-app-devel-list gnome org
- Subject: which number a GtkTreeViewColumn is in a GtkTreeView
- Date: Thu, 28 Nov 2002 10:47:41 +0200
I have a GtkListStore with 1 column. Data in this column are pointers to
a structure MyStruct.
Then, I have a GtkTreeView with 4 column. Text displayed in this columns
comes from MyStruct from the model.
So I use
gtk_tree_view_column_set_cell_data_func(column,renderer,someGtkTreeCellDataFunc_cb,NULL,NULL)
for each GtkTreeViewColumn.
but in
void someGtkTreeCellDataFunc_cb(GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell, GtkTreeModel *tree_model,GtkTreeIter
*iter,gpointer data)
I need to know the number of tree_column to know what member of MyStruct
to put there.
I have looked through the API but I didn't find anything.
If you have any sugestions I appreciate.
--
Razvan
razvaneduard xnet ro
-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.
Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in
considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este
responsabila pentru nici un prejudiciu cauzat de virusi.
Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there
is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible
for any damages caused by viruses.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]