Deutsch   English   Français   Italiano  
<6f8a0$4984bb65$4275d90a$16102@FUSE.NET>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news2.euro.net!zen.net.uk!demorgan.zen.co.uk!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!FUSE.NET-a2kHrUvQQWlmc!not-for-mail
Date: Sat, 31 Jan 2009 15:58:13 -0500
From: Kevin Walzer <kw@codebykevin.com>
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
Newsgroups: comp.lang.tcl
Subject: ANN: TKWebView and SimpleDND
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <6f8a0$4984bb65$4275d90a$16102@FUSE.NET>
X-Complaints-To: abuse@usenetserver.com
Organization: UseNetServer.com
Lines: 31
X-Trace: 6f8a04984bb65e7d07caf16102
Bytes: 2453

I've released two open-source Tcl/Tk packages that add some needed 
functionality to Tk in a cross-platform fashion.

The first package, TkWebView, provides a lightweight HTML viewer that 
can either be used as a standalone window or embedded in another widget. 
Tk is conspicuous among cross-platform GUI toolkits in lacking an 
easy-to-use HTML widget. TkWebView only supports basic HTML, not tables, 
CSS or other components of web browsers, but it still fills a void in 
Tcl/Tk. (An ambitious project to provide a modern HTML widget for Tk, 
TkHTML 3, appears to have stalled--and even when development was moving 
forward, it suffered from an extremely high level of complexity that 
made it nearly impossible to use in an application.) TkWebView could be 
used as a help viewer, a widget to display HTML from RSS feeds, and more.

The second package, SimpleDND, provides a lightweight mechanism for 
drag-and-drop within a Tk application. There are various methods to 
display drag-and-drop in Tk applications, but they are either limited 
(quick hacks specific to a particular application or widget), complex 
(such as BWidgets' drag-and-drop mechanism), or not fully cross-platform 
(TkDND is the most powerful DND extension out there, supporting 
drag-and-drop between different applications, but is not supported on 
the Mac). SimpleDND provides basic drag-and-drop visualization with a 
few commands, and such fills a void.

Both packages are available at 
http://www.codebykevin.com/opensource/xplat_oss.html. I hope some people 
find them useful.
-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com