Re: GtkTree cursor scoping

2006-05-10 Thread Liam R E Quin
On Tue, 2006-05-09 at 10:50 -0400, Hassaan Khan wrote:

> 1. is it possible for the cursor not to move during an update for TreeView2 
> while the u
> If not how do i make sure that the cursor returns to the correct TreeView 
> after an upda

This doesn't answer your question (sorry) but may help you to answer
them yourself...

Thee term you are looking for is keyboard focus, I think, rather than
"cursor scoping."  

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GtkTree cursor scoping

2006-05-10 Thread Hassaan Khan
I have 2 tree views.
TreeView1: is an editable GtkTreeStore that allows the user to change the values
TreeView2: is a display that shows data being sent over a network

The problem is that when during updating TreeView1, if more data comes in, I 
have to update the screen to keep the most recent data in there, but at the 
same time, I lose scope of the cursor, when data input isn't complete, and 
hence have to click on TreeView1 again to get to the correct entry point. This 
is really irritating.
I've followed the GtkTree Tutorial at: http://scentric.net/tutorial/ but 
haven't found much about the scoping of the cursor and hence solving the 
problem.

So my questions are:

1. is it possible for the cursor not to move during an update for TreeView2 
while the update also happens?
If not how do i make sure that the cursor returns to the correct TreeView after 
an update?

Any help on this would be greatly appriciated.
Thank you

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list