Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a webkit browser control and want it to close the form if javascript:window.close is run on the webpage.
Posted
Comments
thatraja 8-Nov-11 6:08am    
/*I have a webkit browser control*/
What's that? Always include complete details in your question

1 solution

Just in case,

The "close-web-view" signal : Emitted when closing a WebKitWebView is requested. This occurs when a call is made from JavaScript's window.close function. The default signal handler does not do anything. It is the owner's responsibility to hide or delete the web view, if necessary.
Ref: http://webkitgtk.org/reference/webkitgtk-webkitwebview.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900