(Re-sending since I didn't hit the list.  Sorry, Philip.)

On Wed, Jul 8, 2009 at 9:47 AM, Philip Wobst<[email protected]> wrote:
> I have a TreeView with elements that have a date and time column and I would
> like to have my application scroll to the position in the TreeView that is
> nearest to the current time when the TreeView is displayed. Is there any way
> of doing this?

If you can determine the TreePath of that row (use the model to get
this from a TreeIter) then you should be able to use
treeView.ScrollToCell(iter, treeView.Columns[0], true, 0, 0) to do
this.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to