Stay organized with collections
Save and categorize content based on your preferences.
blockly > WorkspaceSvg > getToolbox
Getter for the toolbox associated with this workspace, if one exists.
Signature:
getToolbox(): IToolbox | null;
Returns:
IToolbox | null
The toolbox on this workspace.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetToolbox()\u003c/code\u003e method retrieves the toolbox linked to a specific workspace.\u003c/p\u003e\n"],["\u003cp\u003eIt returns an object representing the toolbox, or \u003ccode\u003enull\u003c/code\u003e if no toolbox is present.\u003c/p\u003e\n"],["\u003cp\u003eThis method is part of the \u003ccode\u003eWorkspaceSvg\u003c/code\u003e class in Blockly and specifically deals with workspaces with an SVG rendering.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [WorkspaceSvg](./blockly.workspacesvg_class.md) \\\u003e [getToolbox](./blockly.workspacesvg_class.gettoolbox_1_method.md)\n\nWorkspaceSvg.getToolbox() method\n--------------------------------\n\nGetter for the toolbox associated with this workspace, if one exists.\n\n**Signature:** \n\n getToolbox(): IToolbox | null;\n\n**Returns:**\n\n[IToolbox](./blockly.itoolbox_interface.md) \\| null\n\nThe toolbox on this workspace."]]