Back Previous Next


Linguist graphics package - find

Syntax:

   find event in {actor}

Keyword handler:

   linguist.graphics.keyword.GKFind.class

Runtime handler(s):

   linguist.graphics.handler.GHFindEvent.class

Function:

The most elegant way to create a set of buttons that have similar behavior is to use an array of actors and a common callback handler - see on. When an event occurs the first thing is to find which element of the actor caused it. Calling this command returns the actor's index set to the element that caused the callback.

Example(s):

   find event in Buttons


Back Previous Next