blockly > مربع الأدوات > addToolboxItem_
يضيف عنصرًا إلى مربع الأدوات.
Signature:
protected addToolboxItem_(toolboxItem: IToolboxItem): void;
المعلمات
المعلمة |
النوع |
الوصف |
toolboxItem |
IToolboxItem |
العنصر الموجود في مربع الأدوات. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `addToolboxItem_` method is used to add items to the Blockly toolbox."],["It's a protected method that takes an `IToolboxItem` as input, representing the item to be added."],["The method has no return value and modifies the toolbox directly by adding the specified item."]]],["The `addToolboxItem_()` method adds an item to a toolbox. It accepts a single parameter, `toolboxItem`, which is of type `IToolboxItem`. This parameter represents the item to be added to the toolbox. The method's return type is void, indicating it does not return any value. The method is used for managing the contents of a toolbox by adding items.\n"]]