File ../../LibScriptableWidgets-1.0/LibScriptableWidgetHistogram-1.0/LibScriptableWidgetHistogram-1.0.lua
Functions
WidgetHistogram:Del () | Delete a LibScriptableWidgetHistogram object |
WidgetHistogram:GetOptions (db, callback, data) | Get an Ace3 option table. |
WidgetHistogram:IntersectUpdate (frame) | Update whether frames intersect with the mouse's focus |
WidgetHistogram:New (visitor, name, config, row, col, layer, errorLevel, callback, data) | Create a new LibScriptableWidgetHistogram object |
WidgetHistogram:Resize (rows, cols, old_rows, old_cols) | Resize the widget |
WidgetHistogram:Start () | Start the widget's timer |
WidgetHistogram:Stop () | Stop the widget's timer |
Functions
- WidgetHistogram:Del ()
-
Delete a LibScriptableWidgetHistogram object
Usage:
:Del()Return value:
Nothing - WidgetHistogram: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`. - WidgetHistogram:IntersectUpdate (frame)
-
Update whether frames intersect with the mouse's focus
Parameters
- frame: A specific frame. This is optional. Otherwise 'ChatFrame1' is used.
Usage:
IntersectUpdate(objects)Return value:
Nothing - WidgetHistogram:New (visitor, name, config, row, col, layer, errorLevel, callback, data)
-
Create a new LibScriptableWidgetHistogram object
Parameters
- visitor: An LibScriptableCore-1.0 object, or provide your own
- name:
- config: This widget's settings
- row: This widget's row
- col: This widget's column
- layer: This widget's layer
- errorLevel: This widget's verboseness level
- callback: This widget's real draw function
- data: Data to pass back through the callback
Usage:
WidgetHistogram:New(visitor, name, config, row, col, layer, errorLevel, callback, data)Return value:
A new LibScriptableWidgetHistogram object - WidgetHistogram:Resize (rows, cols, old_rows, old_cols)
-
Resize the widget
Parameters
- rows: The new row size
- cols: The new column size
- old_rows: The old rows size
- old_cols: The old cols size
Return value:
Nothing - WidgetHistogram:Start ()
-
Start the widget's timer
Usage:
object:Start()Return value:
Nothing - WidgetHistogram:Stop ()
-
Stop the widget's timer
Usage:
object:Stop()Return value:
Nothing