Re: GtkTreeView API question
- From: vishnu pobox com
- To: Jonathan Blandford <jrb redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GtkTreeView API question
- Date: Sat, 6 Oct 2001 10:13:33 -0700
On Sat, Oct 06, 2001 at 10:59:47AM -0400, Jonathan Blandford wrote:
> vishnu pobox com writes:
> > How do i get a list of *visible* rows?
> >
> > i see gtk_tree_view_get_visible_rect, gtk_tree_view_tree_to_widget_coords,
> > gtk_tree_view_get_path_at_pos, etc, but it isn't at all obvious how to put
> > these together.
>
> Well, the obvious question is why? You can call get_visible_rectangle,
> followed by alternating get_path_at_pos and get_cell area calls.
> What do you want to do with this information, though?
Oh, uh, well, i'm trying to figure out when i need to emit the
row-changed signal. There are horrible dependencies in the data
i'm displaying. It is fairly expensive to check each row to see
if something change, so i only want to check the rows which are
visible. Does this make sense?
--
Victory to the Divine Mother!!
http://sahajayoga.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]