Skip to content
Starlon edited this page Nov 30, 2011 · 1 revision

Functions

<tr>
<td class="name" nowrap><a href="#LibWidget:Del">LibWidget:Del</a>&nbsp;()</td>
<td class="summary">Delete this widget </td>
</tr>

<tr>
<td class="name" nowrap><a href="#LibWidget:GetOptions">LibWidget:GetOptions</a>&nbsp;(db, callback, data)</td>
<td class="summary">Get an Ace3 option table.</td>
</tr>

<tr>
<td class="name" nowrap><a href="#LibWidget:IntersectUpdate">LibWidget:IntersectUpdate</a>&nbsp;(frame, intersectFrame)</td>
<td class="summary">Check for intersecting frames.</td>
</tr>

<tr>
<td class="name" nowrap><a href="#LibWidget:New">LibWidget:New</a>&nbsp;(child, visitor, name, config, row, col, layer, typeOf, errorLevel, type)</td>
<td class="summary">Create a new LibScriptableWidget object </td>
</tr>


Functions

LibWidget:Del ()
Delete this widget

Usage:

object:Del()

Return value:

Nothing
LibWidget:GetOptions (db, callback, data)
Get an Ace3 option table. Plug this into a group type's args.

Parameters

<li>
  db: The database table
</li>

<li>
  callback: Provide this if you want to execute the callback once an option is changed
</li>

<li>
  data: Some data to pass when executing the callback
</li>

Return value:

An Ace3 options table: `name.args = options`.
LibWidget:IntersectUpdate (frame, intersectFrame)
Check for intersecting frames.

Parameters

<li>
  frame: An optional Frame object.
</li>

<li>
  intersectFrame: 
</li>

Usage:

IntersectUpdate(objects)

Return value:

Nothing
LibWidget:New (child, visitor, name, config, row, col, layer, typeOf, errorLevel, type)
Create a new LibScriptableWidget object

Parameters

<li>
  child: 
</li>

<li>
  visitor: An LibScriptableCore-1.0 object, or provide your own
</li>

<li>
  name: 
</li>

<li>
  config: This widget's parameters
</li>

<li>
  row: This widget's row
</li>

<li>
  col: This widget's column
</li>

<li>
  layer: This widget's layer
</li>

<li>
  typeOf: 
</li>

<li>
  errorLevel: The error level for this object.
</li>

<li>
  type: Dict of widget types.
</li>

Usage:

WidgetText:New(child, visitor, name, config, row, col, layer, typeOf, errorLevel)

Return value:

A new LibScriptableWidgetText object

Clone this wiki locally