Application



Application inherits from Object and defines instance variables nextToRun, widgets, widgetsByName, widgetsByID, menuActions. It has a subclass: MiniDebugger.

Application is an abstract superclass implementing the application framework. In general, each form in a Smalltalk program will correspond to one Application subclass.

Override the class-side method #formID to answer the resource ID of the form for the Application subclass. Override #createComponents to create bindings to PalmOS widgets (using #add:id:name:aspect:) and #createMenus to create bindings to menu options (using #addMenuAction:forID:).

To launch one Application from another, send #spawn: to the running application (self) with the application instance to jump to as an argument. Only use the class-side #show method for the top-level form.

Methods defined in Application:

Methods for accessing:

Methods for control flow:

Methods for event handling:

Methods for events:

Methods for initialization:

Methods for utility:


Pocket Smalltalk Documentation