Re: notified when TreeView shows a new row
- From: Murray Cumming <murrayc murrayc com>
- To: Dave Foster <dave foster gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: notified when TreeView shows a new row
- Date: Sat, 13 Sep 2008 12:55:48 +0200
On Sat, 2008-09-13 at 00:06 -0400, Dave Foster wrote:
> Hi all,
>
> Several times in my application I would like to be notified when a row
> that I've just entered into the store will be displayed by the grid so
> I can do things like scroll to that row, or more importantly, measure
> the row using get_cell_area, which measures some other cell if the
> cell you specify hasn't been drawn yet.
The cell_data_func should be called when the cell is shown. This does
sound like an odd use for it though.
> Is it possible to pick it up somewhere? I dont' see any signals that
> look helpful other than maybe expose on the treeview. Maybe I can do
> something with the model, hook onto when a value is requested by the
> treeview, although I'm not sure how to tell who's doing the
> requesting.
>
> Also it is possible to have a TreePath (or iter or whatever) to a row
> that is in the model and not in the display yet, is there something I
> can use to check to see if it has been displayed yet?
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]