Std CloseActiveWindow/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav/ru
|[[Std_Open/ru|Команда "Открыть"]]
|[[Std_CloseAllWindows/ru|Команда "Закрыть всё"]]
|[[Std_File_Menu/ru|Меню "Файл"]]
|IconL=Std_Open.svg
|IconR=Std_CloseAllWindows.svg
|IconC=Freecad.svg
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Std Close
|Name=Std CloseActiveWindow
|Name/ru=Std Close
|Name/ru=Закрыть
|MenuLocation=[[Std File Menu/ru|File]] → Закрыть
|MenuLocation=Файл → Закрыть
|Workbenches=All
|Workbenches=Все
|Shortcut=Ctrl+W
|Shortcut={{KEY|Ctrl}}+{{KEY|F4}}
|SeeAlso=[[Std CloseAll/ru|Закрыть всё]]
|SeeAlso=[[Std_CloseAllWindows/ru|Закрыть всё]]
}}
}}
</div>


==Описание==


Команда '''Закрыть''' закрывает активное окно. Чтобы закрыть документ полностью, нужно чтобы все его окна были закрыты.
<div class="mw-translate-fuzzy">
Закрывает текущий документ.
</div>


==Применение==
==Usage==
# Invoke the Std Close command several ways:
#* Using the {{KEY|Ctrl}}+{{KEY|W}} keyboard shortcut
#* Using the {{MenuCommand|{{StdMenu|[[Std File Menu|File]]}} → Close}}


# There are several ways to invoke the command:
{{clear}}
#* Select the {{MenuCommand|File → [[Image:Std_CloseActiveWindow.svg|16px]] Close}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|F4}}.
# To close a document: repeat this for all windows belonging to it.
# When closing the last window of a document that has not been saved, a dialog box will prompt you to save it:
#* Press the {{Button|Save}} button to save the document. If required enter a filename first.
#* Press the {{Button|Discard}} button to discard the document and lose all changes.


==Опции==
{{Std Base navi{{#translation:}}}}


* Когда диалоговое окно отображается: нажмите {{KEY|Esc}} или кнопку {{Button|Отмена}}, чтобы прервать выполнение команды.

==Примечания==

* The command can only close [[Std_ViewDockUndockFullscreen|docked]] windows.
* A document can also be closed by right-clicking it in the [[Tree_view|Tree view]] and selecting {{MenuCommand|Close document}} from the context menu.

==Настройки==

* Путь к последнему файлу к которому была применена данная команда сохраняется в параметр: {{MenuCommand|Инструменты → Редактор параметров... → BaseApp → Preferences → General → FileOpenSavePath}}.

==Программирование==

{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].

Чтобы закрыть документ используйте метод {{incode|closeDocument}} приложения FreeCAD. Пример скрипта можно посмотреть на странице команды [[Std_New/ru|"Создать"]].


{{Docnav/ru
|[[Std_Open/ru|Команда "Открыть"]]
|[[Std_CloseAllWindows/ru|Команда "Закрыть всё"]]
|[[Std_File_Menu/ru|Меню "Файл"]]
|IconL=Std_Open.svg
|IconR=Std_CloseAllWindows.svg
|IconC=Freecad.svg
}}

{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:44, 25 August 2021

Other languages:

Закрыть

Системное название
Std CloseActiveWindow
Расположение в меню
Файл → Закрыть
Верстаки
Все
Быстрые клавиши
Ctrl+F4
Представлено в версии
-
См. также
Закрыть всё

Описание

Команда Закрыть закрывает активное окно. Чтобы закрыть документ полностью, нужно чтобы все его окна были закрыты.

Применение

  1. There are several ways to invoke the command:
    • Select the File → Close option from the menu.
    • Use the keyboard shortcut: Ctrl+F4.
  2. To close a document: repeat this for all windows belonging to it.
  3. When closing the last window of a document that has not been saved, a dialog box will prompt you to save it:
    • Press the Save button to save the document. If required enter a filename first.
    • Press the Discard button to discard the document and lose all changes.

Опции

  • Когда диалоговое окно отображается: нажмите Esc или кнопку Отмена, чтобы прервать выполнение команды.

Примечания

  • The command can only close docked windows.
  • A document can also be closed by right-clicking it in the Tree view and selecting Close document from the context menu.

Настройки

  • Путь к последнему файлу к которому была применена данная команда сохраняется в параметр: Инструменты → Редактор параметров... → BaseApp → Preferences → General → FileOpenSavePath.

Программирование

Смотрите так же: Основы составления скриптов в FreeCAD.

Чтобы закрыть документ используйте метод closeDocument приложения FreeCAD. Пример скрипта можно посмотреть на странице команды "Создать".