boolean applicationWillTerminate Application sender;
FALSE
if the delegate does not allow the application to
terminate. The default implementation returns TRUE
.
static instance (id) shared;
Application
object.
void run;
run
the shared
application object.
instance (id) shared;
shared
. Then return it.
public Window key_window;
public Window main_window;
public Menu main_menu;
public mutable ApplicationDelegate delegate;
id (self) init;
void set_key_window Window window;
makeMainWindow
, and tell the new
key window to becomeKeyWindow
.
void set_main_window Window window;
becomeMainWindow
.
void run;
too.RunLoop
.
void sendAction selector action to tom.All target from View sender pre !!action;
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;
delegate
allows it, terminate the application (and exit the
program).
void runLoopWillSelect too.RunLoop loop;