C H A P T E R 5
The Show menu presents different views of application data
Your stationery, which may be built as part of an application or outside of an
application (as an NTK auto part), must be registered with the system when an
application is installed and unregistered when an application is uninstalled.
DataDef and viewDef registry functions coordinate those stationery parts by
registering the viewDef with its dataDef symbol, as well as its view template. The
dataDef registry function adds its view templates to the system registry.
When it is part of a NewtApp application, stationery registration is done
automaticallyafter you set slots with the necessary symbols. If you create your
stationery outside of a NewtApp application, you must register (and unregister)
your stationery manually by using the global functions provided for that
) in the
in your application part.
Once stationery is registered, applications can make use of those dataDefs whose
slot matches the application's