20,741
edits
(→Map) |
|||
Line 102: | Line 102: | ||
{{Canvas Widget Template|name=myWidget}} | {{Canvas Widget Template|name=myWidget}} | ||
Notes: | Notes: | ||
* the file name, and class name, are by convention using a capital letter | |||
* All widgets inherit from <code>canvas.gui.Widget</code> (or any of its child classes). | * All widgets inherit from <code>canvas.gui.Widget</code> (or any of its child classes). | ||
* The configuration hash can be used to alter the function of the widget. | * The configuration hash can be used to alter the function of the widget. |