28. More on Configuration Options

Configuration options for widgets were introduced in previous chapters. You can specify configuration options when creating new widgets and modify them with the configure action for widget commands. This chapter describes two additional facilities related to options. The first part of the chapter describes the option database, which can be used to specify default values for options. The second part of the chapter describes the full syntax of the configure widget command; it can be used to retrieve information about options as well as to modify options.

28.1 Commands Presented in This Chapter

This chapter discusses the following commands for manipulating configuration options. For a complete list of the options ...

Get Tcl and the Tk Toolkit, Second 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.