Re: How to set focus on a text view when tree selection changed?
- From: Milosz Derezynski <internalerror gmail com>
- To: smartkenny <smartkenny gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: How to set focus on a text view when tree selection changed?
- Date: Sun, 7 Mar 2010 22:35:15 +0100
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 <smartkenny gmail com> 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
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]