ws__app_dir | string | Desktop directory under /win/devices
for link up at application start up. |
ws__app_frame | applicationFrame | Application frame for link up at application start up. |
ws__app_path | string | Application program file path for link up at application start up. |
ws__app_thread | thread | Application thread for link up at application start up. |
ws__comms | number | Count of system (permanent) comm connections. |
ws__desktops | table | Collection of desktops. |
ws__last_update | number |
Last time (of os.clock ()) that the desktops
were automatically updated. |
ws__shutdown | number |
Indicates if a shutdown operation is required
(1 = reboot, 2 = shutdown). |
ws__syscomms | table | Collection of comm objects. |
ws__timers | table | List of registered timers and alarms. |
ws__wnd_events | table | List of registered desired window events. |
none |
depressed | boolean | True if depressed, false if not. |
ctrl | boolean | True for control key depressed, false for not. |
alt | boolean | True for alternate key depressed, false for not. |
shift | boolean | True for shift key depressed, false for not. |
match | boolean | True if keys state matches. |
name | string | The name of the connection to close. |
result | boolean | True if the connection was closed, false if not (the connection wasn't found). |
none |
result | boolean | True if there are any connections, otherwise false. |
name | string/nil | The name of the connection. If nil the first connection created is returned, if any. |
com | comm | The comm object or nil if none matching found. |
name | string/nil | The name of the connection. If nil a unique name is generated. |
timeout | number/nil | Count of os.clock () an operation will wait/attempt until a failure is accepted. If nil the default is 5. |
com | comm | The comm connection object, or nil if the connection could not be established. |
wnd | window | The window registering the interest. |
application | string | Identifier for filtering which messages should be passed to the sent notification and receive handlers. |
name | string/nil | The name of the connection to register the interest with. If nil the first connection created is used, if any. |
result | boolean | True if the interest was successfully registered, false if not (no appropriate connection was found). |
recipient | string/number/nil | The intended recipient computer's label or id number. If nil the message is broadcasted to all computers. |
application | string | Identifier for message filtering. This should match the sender's and recipient's registered application filter. |
context | string | Message specific context. This states the purpose/structure of the data. |
data | any |
The data for the message, if any. |
name | string/nil | The name of the connection to use to send the message. If nil the first connection created is used, if any. |
message_id | number | Unique identifier for the message, or nil if the send was not successful (no appropriate connection or the message was addressed to the sending computer). This can be used to identify the message in the sent handler. |
wnd | window | The window that registered the interest. |
application | string/nil | The message filtering identifier the interest was registered with. |
name | string/nil | The name of the connection the interest was registered with. If nil the first connection created is used, if any. |
result | boolean | True if the interest was successfully unregistered, false if not (a matching interest was not found on the specified connection). |
none |
ws | workSpace | The instantiated work space object. |
type |
string |
Type of device. Can be: "term" "monitor" |
dir |
string |
Desktop directory under /win/devices. |
width |
number |
Display width for multi-monitor devices.
Ignored for others. |
channels |
string/list |
The digilines channel/s of the attached
device. |
desktop | desktopWindow | Desktop window or nil if not created. |
none |
none |
none |
depressed | boolean | True if depressed, false if not. |
dir |
string |
Desktop directory under /win/devices. |
none |
none |
dirs |
table | Tables of desktop directories. |
event | string | The event type. |
p1 | any | First parameter for the event or nil if not used. |
p2 | any | Second parameter for the event or nil if not used. |
p3 | any | Third parameter for the event or nil if not used. |
p4 | any | Fourth parameter for the event or nil if not used. |
p5 | any | Fifth parameter for the event or nil if not used. |
... | any | Any additional parameters. |
none |
dir |
string | Desktop directory under /win/devices. |
desktop | desktopWindow | The desktop for the given directory, or nil if none. |
dir | string | Desktop directory under /win/devices. |
wnd | window | The window that currently has input focus on the sort desktop, or nil if none. |
wnd |
window |
Window associated with the alarm. |
alarm_id | number |
The id of the alarm returned by workSpace:set_alarm to remove. |
none |
none |
none |
wnd | window |
Window associated with the timer. |
timer_id | number |
The id of the alarm returned by workSpace:start_timer
to remove. |
none |
wnd | window | The window to kill the timers and alarms for. |
none |
wnd | window | Window the event is for. |
... | any | Event parameters. |
result | boolean | The value returned by the handler for the event. |
none |
none |
dir |
string | Desktop directory under /win/devices. |
path | string | Full path to program file to run. |
... | string | Any command line arguments. Each argument must be a separate string parameter. |
none |
wnd | window | The window associated with the alarm. |
time | number | The time the alarm will fire. |
id | number | The identifier for the alarm. |
none |
depressed | boolean | True if depressed, false if not. |
none |
none |
wnd | window | The window associated with the timer. |
timeout | number | The timer elapse time in seconds. |
id | number | The timer id. |
none |
none |
wnd | window | The window to unregister the event/s for. |
event | string/nil | The event to unregister, nil for all events. |
result | boolean | True if successful, false if not. |
wnd | window | The window to receive the event. |
event | string | The event wanted by the window. The wildcard "*" will send all non-standard routed events to the window. |
result | boolean | True if successfully registered, false otherwise. |