GtkTreeView : why so many "refresh"
- From: "Francois MARTIN" <fmartin caicheuvreux com>
- To: gtk-app-devel-list gnome org
- Subject: GtkTreeView : why so many "refresh"
- Date: Mon, 11 Aug 2003 16:53:53 +0200
Hi to all
I have two questions about the GtkTreeView used to display a GtkListStore :
1. I have specified a function 'my_cell_data_func()' using
gtk_tree_view_column_set_cell_data_func() on each column of a view.
By calling gtk_tree_model_row_changed() on one of the rows of the model, I
am called into my_cell_data_func() for each column of the view for the
changed row (it's seem logical).
But, if the changed row is visible (even partially), I am then called into
my_cell_data_func() again: for each visible rows and for each columns of
the view (including the changed row itself) ! Are these calls necessary ?
Note that there is no auto sort on the view, nor auto-resize on the
columns.
2. Is there a way to prevent 'my_cell_data_func()' from being called each
time the mouse pointer moves over a row (enters and leaves the row area in
fact), while keeping selection enabled ?
frmar
"This message, including any attachments may contain confidential and
privileged material; it is intended only for the person to whom it is
addressed. Its contents do not constitute a commitment by Crédit
Agricole Indosuez Cheuvreux except where provided for in a written
agreement. Crédit Agricole Indosuez Cheuvreux assumes no liability or
responsibility for the consequences arising out of a delay and/or loss
in transit of this message, or for corruption or other error(s)
arising in its transmission and for any misuse or fraudulent use which
may be made thereof. If you are not the intended recipient, please
contact us and abstain from any disclosure, use or dissemination. To
the extent that this message contains research information and/or
recommendations, these are provided on the same basis as Crédit
Agricole Indosuez Cheuvreux's published research and the recipient
must have regard to all disclosures and disclaimers contained
therein."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]