You need to get the TreeSelection from the TreeView and connect to that's "changed" signal, and make sure you connect_after.

Sent from my iPod

On 07.03.2010, at 19:25, smartkenny <[email protected]> wrote:

Hi, all

Searched for a long time but didn't find any hints on this. Here's my layout:

-------------------------
|           |           |
| tree view | text view |
|           |           |
-------------------------

When clicked on a tree view row, I am going to change text in text view accordingly AND let text view grab focus, so that whenever I press keys it put characters into the text view.

I tried to connect "changed" on tree view and grab focus on text view, but it didn't work, the focus is still on tree view. So when I press keys it doesn't put into the text view.

Can any body please give me a clue how to do this? Thank you very much.

Kenny

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to