با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > نظرات > WorkspaceComment > setMovable
تعیین می کند که نظر متحرک باشد یا نه.
امضا:
setMovable(movable: boolean): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
متحرک | بولی | |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["The `comments.WorkspaceComment.setMovable()` method determines if a workspace comment can be moved or not by the user."],["This method accepts a single boolean parameter, `movable`, indicating whether the comment should be movable (true) or not (false)."],["Calling `setMovable()` with the desired boolean value modifies the movability of the workspace comment."]]],["The `setMovable()` method, part of the `WorkspaceComment` class, determines if a comment can be moved. It accepts a single boolean parameter, `movable`. If `movable` is true, the comment can be moved; otherwise, it cannot. The method's return type is void, indicating it doesn't produce any output value but modifies the comment's behavior directly.\n"]]