From: Kevin W. <kw...@co...> - 2014-12-17 00:08:03
|
I've released version 1.1 of TkWebView, my Tcl package that allows a developer to add a native Cocoa WebView/WebKit widget to a Tcl/Tk application, using the same rendering engine that powers Safari. It is designed for display of local HTML files. Links to remote sites (i.e., those beginning with http://) will launch the user's default browser. TkWebView does not display remote URL's; this is not a technical constraint but rather a design decision, to encourage a separation between local display of HTML content and an external browser. TkWebView also does not provide direct access to the HTML content, browsing history, etc. from Tk; it delegates all management of browsing history and HTML content to WebKit. HTML navigation can be built into the HTML pages themselves via JavaScript, href links, and so on. This release of TkWebView adds improved support for running JavaScript within the WebView, such as buttons that assist with navigation; it also adds support for printing the contents of the WebView to a file or to a printer. TkWebView is available under a BSD-style license. More information: http://opensource.codebykevin.com/native.html#tkwebview -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |