private.appListFrame - WIN

Class appListFrame
Inherits from applicationFrame.

The appListFrame class provides the system's running applications List page frame, and is privately defined in the win API.

Properties

title labelWindow Displays the "List" title.
list listWindow List of running applications.

Methods

See also API Reference, WIN.

private.appListFrame:constructor

frame appListFrame:constructor (dir)

Constructs and returns the instantiated home page frame window.

Parameters
dir
string Desktop directory under /win/devices.

Returns
frame appListFrame The instantiated frame window.

Remarks


top


private.appListFrame:load_list

appListFrame:load_list ()

Fills the running applications list.

Parameters
none


Returns
none


Remarks


top


private.appListFrame:on_event

result appListFrame:on_event (event, p1, p2, p3, p4, p5, ...)

Implements control events.

Parameters
event string The event type.
p1 any First parameter to event or nil if not used.
p2 any Second parameter to event or nil if not used.
p3 any Third parameter to event or nil if not used.
p4 any Fourth parameter to event or nil if not used.
p5 any Fifth parameter to event or nil if not used.
...
any Any additional parameters.

Returns
result boolean True if handled, otherwise false.

Remarks
See window:on_event.


top


private.appListFrame:on_frame_activate

appListFrame:on_frame_activate (active)

If active, reloads the running applications list.

Parameters
active boolean
True if made active, false if inactive.

Returns
none


Remarks
See parentFrame:on_frame_activate.


top


private.appListFrame:on_quit

result appListFrame:on_quit ()

Ensures the list page cannot be quit.

Parameters
none


Returns
result boolean Always true.

Remarks
See applicationFrame:on_quit.


top


private.appListFrame:on_resize

result appListFrame:on_resize ()

Resizes the frame and repositions the controls.

Parameters
none


Returns
result boolean Always true.




Remarks
See applicationFrame:on_resize.


top


See also API Reference, WIN.