Programmer's Reference

Static label widgets

Create static label widgets (CwLabel) using the createLabel:argBlock: convenience method. Static labels do not provide any special callbacks. The following code creates the example to its right.

| shell label |
shell := CwTopLevelShell
   createApplicationShell: 'shell'
   argBlock: [:w | w title: 'Label Example'].
label := shell
   createLabel: 'label'
   argBlock: nil.

Static label widget

label labelString: 'This is a label.'.
label manageChild.
shell realizeWidget.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]