User talk:Gerbrant/gui/toolbox.js
From Wikipedia, the free encyclopedia
- Gerbrant.gui.toolbox
- I use this to put links in the "toolbox" on the left.
[edit] Exports
- 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.
[edit] Settings
- 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)