Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > ToolboxSeparator > (constructeur)
Construit une nouvelle instance de la classe ToolboxSeparator
.
Signature :
constructor(separatorDef: toolbox.SeparatorInfo, toolbox: IToolbox);
Paramètres
Paramètre |
Type |
Description |
separatorDef |
toolbox.SeparatorInfo |
Informations nécessaires pour créer un séparateur. |
boîte à outils |
IToolbox |
Boîte à outils parent pour le séparateur. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/25 (UTC)."],[],["The `ToolboxSeparator` class constructor creates a new separator within a toolbox. It requires two parameters: `separatorDef`, which provides the necessary information to define the separator, and `toolbox`, representing the parent toolbox where the separator will be placed. This constructor's function is to instantiate a separator object, utilizing the provided definition and associating it with the specified toolbox.\n"]]