Std CloseActiveWindow/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Опции==")
(Updating to match new version of source page)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages/>
<languages/>

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


<div class="mw-translate-fuzzy">
<!--Empty=1 to suppress icon-->
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Std CloseActiveWindow
|Name=Std CloseActiveWindow
|Name/ru=Std CloseActiveWindow
|Name/ru=Закрыть
|MenuLocation=Файл → Закрыть
|MenuLocation=Файл → Закрыть
|Workbenches=All
|Workbenches=Все
|Shortcut={{KEY|Ctrl}}+{{KEY|F4}}
|Shortcut={{KEY|Ctrl}}+{{KEY|F4}}
|SeeAlso=[[Std_CloseAllWindows/ru|Std CloseAllWindows]]
|SeeAlso=[[Std_CloseAllWindows/ru|Закрыть всё]]
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


Команда '''Закрыть''' закрывает активное окно. Чтобы закрыть документ полностью, нужно чтобы все его окна были закрыты.
The '''Std CloseActiveWindow''' command closes the active window. To close a document all its windows must be closed.


<span id="Usage"></span>
==Применение==
==Применение==


Line 35: Line 37:
#* Press the {{Button|Discard}} button to discard the document and lose all changes.
#* Press the {{Button|Discard}} button to discard the document and lose all changes.


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


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


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


Line 44: Line 48:
* 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.
* 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]].
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.


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


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<div class="mw-translate-fuzzy">
To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].
{{Docnav/ru

|[[Std_Open/ru|Команда "Открыть"]]

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


{{Std Base navi{{#translation:}}}}
{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{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. Пример скрипта можно посмотреть на странице команды "Создать".