Chapter 50. C Library Overview

This chapter provides a bird's eye view of the facilities in the Tcl and Tk C libraries. For details of the APIs, you will need to consult the on-line reference material.

C libraries provide comprehensive access to the Tcl and Tk implementation. You have complete control over the Tcl script environment, plus you can extend Tcl and Tk by writing new features in C. You can implement new commands, I/O channels, event sources, widgets, canvas items, image types, and geometry managers. The platform-independent I/O subsystem and the event loop are available for use from C. This chapter provides an overview of the Tcl and Tk C libraries.

For serious C programming, you need to consult the on-line reference material. The manual ...

Get Practical Programming in Tcl and Tk, Fourth Edition 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.