page 1  (72 pages)
2to next section

DRAFT (7/10/93): Distribution Restricted

Chapter 36 Introduction 323

36.1 What?s in a widget? 324

36.2 Widgets are event-driven 325

36.3 Tk vs. Xlib 325

36.4 Square: an example widget 326

36.5 Design for re-usability 328

Chapter 37 Creating Windows 329

37.1 Tk_Window structures 329

37.2 Creating Tk_Windows 329

37.3 Setting a window?s class 331

37.4 Deleting windows 332

37.5 Basic operations on Tk_Windows 332

37.6 Create procedures 333

37.7 Delayed window creation 336

Chapter 38 Configuring Widgets 337

38.1 Tk_ConfigureWidget 337
38.1.1 Tk_ConfigSpec tables 339
38.1.2 Invoking Tk_ConfigureWidget 341
38.1.3 Errors 342
38.1.4 Reconfiguring 342
38.1.5 Tk_ConfigureInfo 342
38.1.6 Tk_FreeOptions 343
38.1.7 Other uses for configuration tables 343

38.2 Resource caches 343
38.2.1 Graphics contexts 344
38.2.2 Other resources 345

38.3 Tk_Uids 346

38.4 Other translators 346

38.5 Changing window attributes 347

38.6 The square configure procedure 348

38.7 The square widget command procedure 349