Re: GtkTreeView column-changed?
- From: vishnu pobox com
- To: Jonathan Blandford <jrb redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkTreeView column-changed?
- Date: Tue, 9 Oct 2001 20:39:46 -0700
On Tue, Oct 09, 2001 at 11:19:13PM -0400, Jonathan Blandford wrote:
> vishnu pobox com writes:
> > Is there any way to tell the view to redraw a column?
> >
> > i have two columns. One is staying the same and one is changing. Do
> > i have to emit row-changed for all visible rows?
>
> Well, you emit a "row_changed" signal the view redraws those rows, and
> redraws columns appropriately. How exactly are you doing your model?
i'm using the array-based model which we discussed before. There is
one pointer for each row. i use gtk_tree_view_insert_column_with_data_func
for each column, doing various transformations on the data to present
it to the user.
In this particular case, i have one column which is dependent on
global state QZ and one column which does not depend on QZ. So when
QZ changes, i know only one column need to be redrawn
It's not a big deal, but you should know all the use-cases.
--
Victory to the Divine Mother!!
http://sahajayoga.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]