GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with gtktreeview

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
sumahs
Familiar Face


Joined: 25 Jan 2007
Posts: 5

PostPosted: Thu Jan 25, 2007 5:40 am    Post subject: problem with gtktreeview Reply with quote

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

PostPosted: Thu Jan 25, 2007 1:01 pm    Post subject: Reply with quote

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

PostPosted: Mon Jan 29, 2007 5:11 am    Post subject: Reply with quote

That doesn't solve the problem... :(
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP