GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 30, 2014 12:16 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: problem with gtktreeview
PostPosted: Thu Jan 25, 2007 5:40 am 
Offline
Familiar Face

Joined: Thu Jan 25, 2007 5:32 am
Posts: 5
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?

_________________
suma


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 25, 2007 1:01 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
Try gtk_widget_grab_focus(). Also, you should make sure that the can focus widget flag is set on the tree view.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 29, 2007 5:11 am 
Offline
Familiar Face

Joined: Thu Jan 25, 2007 5:32 am
Posts: 5
That doesn't solve the problem... :(

_________________
suma


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group