blockly > IToolbox > getWidth
Récupère la largeur de la boîte à outils.
Signature :
getWidth(): number;
Renvoie :
Nombre
Largeur de la boîte à outils.
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 2024/09/20 (UTC).
[null,null,["Dernière mise à jour le 2024/09/20 (UTC)."],[[["The `getWidth()` method is part of the `IToolbox` interface in Blockly and is used to retrieve the width of the toolbox."],["It returns a numerical value representing the width of the toolbox."]]],["The `getWidth` method, part of the `IToolbox` interface, retrieves the toolbox's width. It is a method that takes no arguments and returns a numerical value. This returned number represents the width of the toolbox in an unspecified unit. The method's signature, `getWidth(): number;`, specifies this structure.\n"]]