The Browser

Adding Slots

You can add new slots to a template in the slot editor. The most convenient method for adding a slot is only available for predefined slots. For these slots, you can select the slot by its name in one of the three popup menus: Specific, Methods, or Attributes. FIGURE A.29 displays the contents of these three popups.

FIGURE A.29 : Popup menus in the slot editor of the browser.



Note:The Specific popup menu's contents will vary, depending on the type of template. The specific items are those slots that are standard optional additions to a template.


These slots are all the standard slots that NTK provides to you by name. This is roughly how the slots are grouped in the popup menus:

Specific
These are the slots specific to a particular type of template. They are slots in the proto that you might want to override in a particular template. For example, the viewFont slot in protoStaticText is available in the Specific menu.

Methods
These are standard methods associated with views.

Attributes
These are slots that are used with many different kinds of templates.

The New Slot Dialog

An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996