File ../../LibScriptableWidgets-1.0/LibScriptableWidget-1.0/LibScriptableWidget-1.0.lua

Functions

LibWidget:Del () Delete this widget
LibWidget:GetOptions (db, callback, data) Get an Ace3 option table.
LibWidget:IntersectUpdate (frame, intersectFrame) Check for intersecting frames.
LibWidget:New (child, visitor, name, config, row, col, layer, typeOf, errorLevel, type) Create a new LibScriptableWidget object


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

  • db: The database table
  • callback: Provide this if you want to execute the callback once an option is changed
  • data: Some data to pass when executing the callback

Return value:

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

Parameters

  • frame: An optional Frame object.
  • intersectFrame:

Usage:

IntersectUpdate(objects)

Return value:

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

Parameters

  • child:
  • visitor: An LibScriptableCore-1.0 object, or provide your own
  • name:
  • config: This widget's parameters
  • row: This widget's row
  • col: This widget's column
  • layer: This widget's layer
  • typeOf:
  • errorLevel: The error level for this object.
  • type: Dict of widget types.

Usage:

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

Return value:

A new LibScriptableWidgetText object

Valid XHTML 1.0!