File tag/Application


class tag.ApplicationDelegate

Inherits

Behaviour supers
tom.All

instance tag.ApplicationDelegate

Inherits

Behaviour supers
tom.All

methods

boolean
  applicationWillTerminate Application sender;
Return FALSE if the delegate does not allow the application to terminate. The default implementation returns TRUE.


class tag.Application

Inherits

State supers
Responder, too.RunLoopDelegate

variables

static instance (id) shared;
The shared Application object.

methods

void
  run;
run the shared application object.

instance (id)
  shared;
If necessary, create a new instance of the receiving class, to become shared. Then return it.

instance tag.Application

variables

public Window key_window;
The key window.
public Window main_window;
The main window.
public Menu main_menu;
The main menu.
public mutable ApplicationDelegate delegate;
The delegate.

methods

id (self)
  init;
Designated initializer.

void
  set_key_window Window window;
Tell the previous key window to makeMainWindow, and tell the new key window to becomeKeyWindow.

void
  set_main_window Window window;
Tell the new main window to becomeMainWindow.

void
  run;
Run the too.RunLoop.

void
  sendAction selector action
          to tom.All target
        from View sender
pre
  !!action;
Send the action to the target from the sender. If the target is nil, the action is sent into the responder chain of the key window or, failing that, the main window.

void
  terminate tom.All sender;
If the delegate allows it, terminate the application (and exit the program).

RunLoopDelegate

void
  runLoopWillSelect too.RunLoop loop;
Give the active display a chance to flush any pending information.


Generated by tm 1.01.