Practical example—the Hibernator application

Some time ago, I discovered that I needed a convenient way to hibernate my Windows-controlled PC after a specified amount of time. Of course, there were plenty of ways to achieve this, but what I really needed was an easy-to-use timer-like application, and that is why Hibernator was created.

Describing in detail how this application works is beyond the scope of this book, as we do not focus on GUI creation, but Hibernator is a perfect example of a portable standalone Tcl application that is successfully run almost every day. If you are interested in how the graphical interface is created, feel free to inspect the source of this application.

All the required files are stored in the Hibernator directory, ...

Get Tcl 8.5 Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.