Std CloseActiveWindow/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(35 intermediate revisions by 3 users not shown)
Line 2: Line 2:


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{Docnav/ru
|[[Std_Open/ru|Команда "Открыть"]]
|Name=Std Close
|[[Std_CloseAllWindows/ru|Команда "Закрыть всё"]]
|Name/ru=Std Close
|[[Std_File_Menu/ru|Меню "Файл"]]
|MenuLocation=[[Std File Menu/ru|File]] → Закрыть
|IconL=Std_Open.svg
|Workbenches=All
|IconR=Std_CloseAllWindows.svg
|Shortcut=Ctrl+W
|IconC=Freecad.svg
|SeeAlso=[[Std CloseAll/ru|Закрыть всё]]
}}
}}
</div>
</div>


{{GuiCommand/ru
|Name=Std CloseActiveWindow
|Name/ru=Закрыть
|MenuLocation=Файл → Закрыть
|Workbenches=Все
|Shortcut={{KEY|Ctrl}}+{{KEY|F4}}
|SeeAlso=[[Std_CloseAllWindows/ru|Закрыть всё]]
}}


<span id="Description"></span>
<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}}


<span id="Usage"></span>
{{Std Base navi}}
==Применение==

# There are several ways to invoke the command:
#* 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.

<span id="Options"></span>
==Опции==

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

<span id="Notes"></span>
==Примечания==

* 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.

<span id="Scripting"></span>
==Программирование==

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

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


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


{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:48, 21 April 2024

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.

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

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

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