Back Previous Next


Linguist graphics package - enable

Syntax:

   enable events in {stage}

Keyword handler:

   linguist.graphics.keyword.GKEnable.class

Runtime handler(s):

   linguist.graphics.handler.GHEnableEvents.class

Function:

Enable events produced in a stage by the mouse and its buttons. When an event is handled the stage will disable any further events until this command is given, to avoid events building up in slow systems. The only exception is the mouse move event.

After startup a stage will not report any mouse events until this command has been given. This is useful when initializing a screen, to avoid references to assets that may still be loading.

Example(s):

   enable events in MyStage


Back Previous Next