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. |
![]() |
label labelString: 'This is a label.'. label manageChild. shell realizeWidget.