Previous section   Next section

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents

Part V: Tk Details

Part V describes the rest of the Tk toolkit.

Chapter 35 describes the selection mechanism that is used for cut and paste between applications. It includes an example that implements cut and paste of graphical objects on a canvas.

Chapter 36 describes dialogs. Tk has several built-in dialogs that use the native platform look and feel. The chapter also describes how to build your own dialogs.

Chapter 37 is the first of three chapters that explain widget attributes in more detail. It describes size and layout attributes. Chapter 38 describes colors, images, and cursors. It explains how to use the bitmap and color photo image types. The chapter includes a complete map of the cursor font. Chapter 39 describes fonts and other text-related attributes. The extended example is a font selection application.

Chapter 40 describes the Tk send command that lets you send commands among Tk applications. It also presents a socket-based alternative that can be used among applications on different hosts and with the Safe-Tcl mechanism to limit the power of remotely invoked commands.

Chapter 41 explains how to interact with the window manager using the wm command. The chapter describes all the information available through the winfo command.

Chapter 42 builds upon Chapter 28 to create a user preferences package and an associated user interface. The preference package links a Tcl variable used in your application to a resource specification.

Chapter 43 presents a user interface to the binding mechanism. You can browse and edit bindings for widgets and classes with the interface.

      Previous section   Next section