C H A P T E R 1 9
Built-in Applications and System Data
and a frame containing the definition of the new meeting type. This frame has the
following slots; see "RegMeetingType" (page 16-48) in Newton Programmer's
Reference for full details:
Required. A string that is the meeting type name to appear in
the New picker.
Required. The icon shown in the New picker. It should be no
larger than 24x15 pixels.
Method called if the user chooses this meeting type
in the New picker.
Optional. The icon displayed in the meeting slip. It should be
no more than 12 pixels high. If this icon is not provided,
is used, which may look ugly.
Optional. Method called when user taps an icon for a
meeting or event of this type. If this method is not provided,
Dates opens the default meeting slip.
Optional. Where to store meeting titles of this type.
method is passed in the date and time the note was created and
of the Dates application. It must create a meeting (or event)
), and must add a slot to the
appointment created called
. This slot must be set to the symbol
that identified the meeting type in the call to
. Remember to
to save this new slot.
returns the meeting (or event) created, Dates then opens the
default meeting slip. You may also return
, in which case
you must have already opened the meeting slip from within
meeting slip should be opened by using the Dates method
which records this so that Dates can close the view, if Dates is closed. Use
to close this view.
If you do define a custom meeting slip, you should also define an
method. This method is called when the user taps an icon of the type you have
created. For more information see
(page 16-50) in Newton