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: