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 

focus lost if html page is loaded

 
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 6:16 am    Post subject: focus lost if html page is loaded Reply with quote

hi,
I have a gtk program which creates a window with fixed container which displays a browser and a gtktreeview below it.
When a row is selected in gtktreeview, the appropriate html page is loaded. When I do this, as soon as the html page is loaded, the keyboard focus is lost in the gtktreeview.
How do I get the keyboard focus back? I tried using gtk_widget_set_focus, but this doesn't work. This problem occurs only when a html page is loaded, if instead of the browser, there is a gtktreeview, this problem does not occur.
Also, this problem exists only in Windows.

Does anybody has a solution?

Thanks.
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