User talk:Gerbrant/gui/toolbox.js
Appearance
- Gerbrant.gui.toolbox
- I use this to put links in the "toolbox" on the left.
Exports
[edit]- addObject(obj)
- Adds an object to the toolbox it is assumed to export a show()-function and a caption-string.
- objects
- An array where the objects are stored; it's used to show the objects when the new toolbox-links are clicked.
Settings
[edit]- load
- An array of id's of modules that should be added to the toolbox when this module finishes loading.
- You can also add instantiations of classes to the toolbox using the following pattern:
- [module id, list of arguments to pass to the constructor] —Preceding unsigned comment added by Gerbrant (talk • contribs) 23:44, 17 November 2007 (UTC)