|| ||Tcl-URL <tcl-url-AT-phaseit.net>|
|| ||"Tcl-URL distribution" :;|
|| ||Tcl-URL! - weekly Tcl news and links (Dec 11)|
|| ||Tue, 11 Dec 2007 02:18:55 +0000|
Well, desinformation *must* leave out the newest
facts. If that doesn't help, it has to leave out
even older facts, too. Jan Kandziora on c.l.t
I disagree. I give my opinion on all sorts of things all
the time without finding out about them. The difference is,
I'm usually right. Hrmhaha, Donal K. Fellows on c.l.t
ANNOUNCE: Tcl/Tk 8.5b3 RELEASED
ANN kbs 0.1
The system can generate [Tclkit Lite] executables and
Tcl packages for different operating systems. Tested are Linux,
SunOS, Windows and Irix.
Homepage as Tclkit Lite:
ANNOUNCE: TclMacBag 0.06
I'm pleased to announce the first widespread release of TclMacBag;
a bag of widgets for Tcl on the Mac.
The aim of this extension is to allow Tcl developers to produce Mac
applications with a more Mac "look and feel", knowing their code will
remain platform appropriate elsewhere.
TclMacBag should be used in conjunction with Ttk/Tile rather than
replacing it, and shares Tile's overall goal of being able to use one
command and have it produce widgets which look platform native.
Widgets in this release include:
* combo: Recognising that Mac users expect to see menubuttons
and attached menus where X11 and Windows users use comboboxes,
this widget provides the correct variation to each set of users.
* flatbutton: On Mac, presents as flat transparent button whose
user image darkens when pressed. Elsewhere, a Tile button.
* stylebutton: Primarily for toolbars. On Mac, there's a range of
styles including 'pill' (seen in apps like Safari). Where
appropriate, the buttons have variants for grouped button bars. On
other platforms, they render as standard Tile buttons.
* searchentry: Round edged search entry widget. This one also
allows a user specified image to replace the standard magnifying
* helpbutton: This command presents a platform native appearance
button for the end-user to launch contextual help.
* colorframe: Much like a normal Tk frame, but, allows you to
easily set a background colour for the Mac platform. On others,
it creates a standard coloured Tk frame.
* toplevel: In a tile application on the Mac a toplevel should be
pinstriped. This widget provides that without doing anything
unusual on other platforms.
* text: This is a wrapper around the standard Tk text widget which
provides Ttk/Tile focus styles, appropriate for whichever theme is
* listbox: The same as the text widget but for the Tk listbox.
Where it makes sense to do so, many of these widgets also support a
'-force yes' option which allows the Mac variant of the widget to be
used on non-Mac platforms.
TclMacBag is Tcl-only, so should be able to be used on all major
platforms. It's been tested most with Tk 8.4/Tile 0.7.8, but, has
also been tested with Tk 8.5/Tile 0.8.x successfully.
A TAP file is included for those creating starpacks with TDK. The
extension is released with a standard BSD license.
ANN: mactoolbar and aquahig
The mactoolbar package is designed to emulate the standard Cocoa toolbar
provided on OS X. On the Mac, toolbars behave a bit differently than
they do on Windows or X11; rather than having the entire button darken
when pressed, only the image and/or text darkens, and the toolbar itself
can be hidden or made visible with a button-click. As such, the usual Tk
approach to toolbars (arranging Tk or Tile buttons in a frame) requires
a bit of customization. The mactoolbar package uses a Tile frame,
labels, and bindings to implement a Cocoa-style toolbar.
The Aquahig Package
The aquahig package implements some Mac OS X-specific configurations to
selected Tk megawidgets to make them better fit in visually with Mac
interface conventions, similar to iTunes and other Mac applications.
Currently supported widgets are the BWidgets Tree, the BWidgets ListBox,
Both packages are available under the standard Tcl/Tk BSD-style license.
A NexTk Demo (an image viewer) by Georg Peter Staplin
This is a demo of NexTk for Linux and Win32:
This demonstrates ntk_panedwindow, ntk_listbox, ntk_grid, ntk_scrollbar,
ntk_button, ntk_label, and the rendering capabilities.
Mouse button 1 is for panning an image. Click and drag to pan.
Mouse button 2 rotates an image. Click once for a 90 degree rotation.
Click twice for 180 degrees of rotation, and so on.
Rotations in NexTk from [-360,360] are possible as well.
Mouse button 3 scales an image. Click 3, drag until you like the size,
You can use the following tclkits to run it:
This is a Tk-less tclkit that I've tested and used for the demo in
Windows XP (Note: it tends to work better than the regular tclkit with
This is what I use for testing in Ubuntu Linux:
The Win32 demo has a bit of a problem on exit with cleanup_instance. I
would appreciate review and advice with the Win32 paths. The Win32 code
I also suspect could be made to be faster, so that it operates as
smoothly as the X11/Linux version.
ANNOUNCE: freeWrap 6.3 released
The freeWrap program turns TCL/TK scripts into single-file binary executable
programs. freeWrap can wrap TCL/TK applications that consist of multiple
script and binary files. FreeWrap combines all the files together into a
single executable file.
freeWrap 6.3 is based on TCL/TK 8.4.16
freeWrap executables are freely available for both Linux and Windows.
Instructions and source code for building freeWrap on both Windows and UNIX
platforms is also freely available.
The following additional variations of freeWrap are also available for
freewrapPLUS a windowing application that includes TCL/TK along
with the BLT, tkTable and sqlite extensions
freewrapTCLSH a console-only application which includes only TCL.
Calling all users of Tk_RedrawImage
How --enable-xft breaks backwards compatibility
Re: USENIX '08 Call For Papers Submissions Deadline: January 7, 2008
ORBI: or what happened on comp.lang.tcl
Tcl/Tk8.5 upgrade guide
Advice required BigNums in calculation
Expect: how to tell if stdin is redirected from /dev/null?
Larry Wall, on Tcl ( V~~ )
Speeding up recursive directory traversal
TIPX: new, used and discarded Tips
nothing new here, walk on.
OOTW: Orphan of the week or questions nobody answered yet:
Anybody use RRD & TCL together?
loading expect package in a Windows xp service
ATTC: At the Core:
[TCLCORE] Ordered Dicts?
[TCLCORE] Countdown to Tcl/Tk 8.5.0 releases
PMAG: Tcl in printed and other Media:
Larry Walls State of the Onion 11 mentions Tcl.
Noticable is that even bright people rarely revisit
the observations they have made in the past.
pthread_atfork handler - what can they do?
Thanks for Arjen Markus for his weekly summary of Wiki action:
Just a few more days and Tcl 8.5.0 will be out officially.
In the meantime the Wiki is receiving more and more examples
that more or less require version 8.5, so this may be a good
time to look at it.
A picture says more ...
- Jolly nice to see those curves in 3D - <http://wiki.tcl.tk/14096>
- And as it is the time of the year for contemplation ... here's
a classic: <http://wiki.tcl.tk/20464> (requires 8.5)
- Here is a page on the Poisson distribution with various
implementations for good measure - <http://wiki.tcl.tk/15132>
- Should you not like the statistical properties of our good
old rand() function, you can improve them: <http://wiki.tcl.tk/1551>
- And for all of you who want even more statistics: the Gamma
Tcl 8.5, Mac OSX and food for thought
- Prepare yourself for 8.5: reflected channels are now in the core
- A HOWTO on standalone applications for the Mac OSX -
<http://wiki.tcl.tk/12945> with a nice little tutorial.
- We are so used to creating recursive algorithms that we might
be blind to another possibility: use such an algorithm to
construct linear code and gain performance -
Everything Tcl-related you want is probably one or two clicks away in these
The "Welcome to comp.lang.tcl" message by Andreas Kupries
comp.lang.tcl is a crucial resource for Tcl practitioners.
An interesting perspective on its traffic appears at
The Tcl Developer Site is Tcl's "home base".
Larry Virden maintains a comp.lang.tcl FAQ launcher.
The Tcl Developer Xchange is a highly organized resource center
of documents and software with provisions for individuals to
maintain references to their own software:
The TDX sponsor, ActiveState, also keeps info to convince your
boss Tcl is a good thing
The Tcl'ers Wiki is a huge, dynamic, collaboratively edited repository
of documentation, examples, tutorials and pontifications on all things
For the ideal overview of the topics about Tcl most likely to
interest a newcomer, see "Arts and Crafts ..."
There's also a high-quality Wikibook on Tcl:
ActiveState maintains binaries distribution and development tools
along with a Cookbook of Tcl recipes
"La Gazette du Técleux" is an important monthly publication.
deli.cio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Tcl intelligence.
Cameron Laird tracks several Tcl/Tk references of interest (but
needs to validate many of the links).
Years ago, Cetus Links maintained a Tcl/Tk page with verified links
"Yahoo! Groups" archives comp.lang.tcl.announce posts--even
though clta itself is dormant.
We're working on more useful archives of past installments. In the
meantime, an alternative is
Suggestions/corrections for next week's posting are always welcome.
To receive a new issue of this posting in e-mail each Monday, ask
<email@example.com> to subscribe. Be sure to mention "Tcl-URL!".
Phaseit, Inc. (http://phaseit.net) is pleased to participate in and
sponsor the "Tcl-URL!" project.
to post comments)