 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
sumahs Familiar Face
Joined: 25 Jan 2007 Posts: 5
|
Posted: Thu Jan 25, 2007 5:40 am Post subject: problem with gtktreeview |
|
|
hi,
I have a program which creates a gtktreeview.
During keyboard navigation (using up and down arrow keys), appropriate row is selected. The problem is, I get a dotted rectangle at the border of the row selected. This happens only when I select a row with the keyboard, and disappears when I do left button mouse click.
Is there anyway I can remove this dotted border on keyboard focus?
This problem exists only in Windows and not in Linux.
I have been searching for a solution from past 2 days. Can anyone please help? |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 387 Location: Fairfax, Virginia
|
Posted: Thu Jan 25, 2007 1:01 pm Post subject: |
|
|
| Try gtk_widget_grab_focus(). Also, you should make sure that the can focus widget flag is set on the tree view. |
|
| Back to top |
|
 |
sumahs Familiar Face
Joined: 25 Jan 2007 Posts: 5
|
Posted: Mon Jan 29, 2007 5:11 am Post subject: |
|
|
| That doesn't solve the problem... :( |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|