Tcl/tk screenshot widget

Tcl/tk screenshot widget Purpose A TclOO class which implements a so called “screen shot” widget. The function non only allows to take a screen shot from a native tk widget, like for example the image create photo -format window -data $mywidget command, but also works to capture any portion of the screen. Continue reading...

Tcl/tk html3widget

html3widget - a tcl/tk megawidget A tcl/tk megawidget to render html + css based on the Tkhtml3.0 library. Purpose The html3widget is a tcl/tk package which implements a megawidget to render html + css. The code is based on Tkhtml3.0 and as well HV3 which (for the moment) is not actively developed, but still offers a solid base to render html including css support. Continue reading...

How to access a remote sqlite database file: sqlitedb.tcl + sqlitedb.php

sqlitedb.tcl package Purpose: Database connectivity package to establish a connection to a remote sqlite database file via http protocol and with the aid of the SqliteDB PHP interface. Be aware that this package is a proove of concept and far from complete. Continue reading...

How to add search to a static site

How to add search functionality to a static web site Hugo a static web site generator and lunr.js Since version 0.20 Hugo has a build in capability to create a (customized) index file of available markdown documents down below the content directory tree. Continue reading...

Tcl/Tk xtablelist

XTablelist Package A kind of TclOO code example to show how an existing widget can be extended to add more sub-commands to it. Purpose A TclOO class to extend the fabulous tablelist widget. TclOO naming conventions public methods - starts with lower case declaration names, whereas private methods - starts with uppercase naming, so we use CamelCase … Widget commands xtablelist::xtablelist Continue reading...

Tcl/tk BWidget_patch

BWidget_patch A patch to fix some problems with BWidget 1.9.10. Please double check with the actual version of BWidget currently in use, maybe this has become already obsolete over time. Purpose This package solves some issues with BWidget in conjunction with the ttk widget set. Continue reading...

ImageFlow for Hugo

ImageFlow for Hugo Hugo is a static site generator, whereas ImageFlow implements a nice interactive image gallery on-top of hugo’s infrastructure. Example: These are the steps to install ImageFlow via hugo’s shortcode mechanism: Download ImageFlow and copy the source to the website repository’s static directory. Continue reading...

Tcl/tk programming language + ChatGPT

The Tcl/Tk programming language Overview Tcl Tcl (Tool Command Language) is a very powerful but easy-to-learn dynamic programming language, suitable for a very wide range of use cases: including web and desktop applications, networking, administration, testing and many more.. Open source and business-friendly, Tcl is a mature yet evolving language that is truly cross-platform, easily deployed and highly extensible. Continue reading...

Tcl Scripting

Tcl Scripting - News and articles on software development with Tcl/Tk Articles written by: Brian Oakley, carried over from the way-back machine. You only need curly braces… Unlike some languages which require curly braces to delimit blocks of code, in Tcl curly braces are always optional. Continue reading...