RE: [gtkmm] refTreeSelection->select(iter);



> From: danny van elsen [mailto:danny_van_elsen hotmail com] 
> // this works
> gui_tv->scroll_to_row(p, 0.5);
> 
> 
> // but this doesn't, either with or without the first line
> refTreeSelection = gui_tv->get_selection();
> refTreeSelection->select(iter);

Yes, I seem to remember that scroll_to_row() is required to actually see the
selection. I think I do this somewhere in glom (www.glom.org) so you could
grep for scroll_to_row in the sources.


Murray Cumming
murrayc usa net
www.murrayc.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]