使用右上角的选项卡切换到不同的编程语言。

使用右上角的选项卡切换到不同的编程语言。

使用右上角的选项卡切换到不同的编程语言。

使用右上角的选项卡切换到不同的编程语言。

dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowdev_update_window (算子)

名称

dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowdev_update_window — 在程序执行期间打开或关闭图标输出对象的自动输出到图形窗口。

签名

dev_update_window( : : DisplayMode : )

Herror dev_update_window(const char* DisplayMode)

Herror T_dev_update_window(const Htuple DisplayMode)

void DevUpdateWindow(const HTuple& DisplayMode)

static void HWindow::DevUpdateWindow(const HString& DisplayMode)

static void HWindow::DevUpdateWindow(const char* DisplayMode)

static void HWindow::DevUpdateWindow(const wchar_t* DisplayMode)   ( Windows only)

static void HOperatorSet.DevUpdateWindow(HTuple displayMode)

static void HWindow.DevUpdateWindow(string displayMode)

def dev_update_window(display_mode: str) -> None

描述

dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowDevUpdateWindowdev_update_window specifies whether all iconic objects that are returned by an operator call have to be displayed in the active graphics window (DisplayModeDisplayModeDisplayModeDisplayModedisplayModedisplay_mode = 'on'"on""on""on""on""on"---default) or not (DisplayModeDisplayModeDisplayModeDisplayModedisplayModedisplay_mode = 'off'"off""off""off""off""off").

This option has no influence on the object output in single step mode. After the execution of a single operator the iconic output objects are always displayed in the active graphics window.

This option should be set to 'off'"off""off""off""off""off", if only selected objects should to be displayed in the graphics window. In this case the objects should be displayed by dev_displaydev_displayDevDisplayDevDisplayDevDisplaydev_display

For measuring the execution time of a sequence of operators all update options should be switched off in order to reduce the influence of the runtime of GUI updates in HDevelop. For this the operators dev_update_pcdev_update_pcDevUpdatePcDevUpdatePcDevUpdatePcdev_update_pc, dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimeDevUpdateTimedev_update_time, dev_update_vardev_update_varDevUpdateVarDevUpdateVarDevUpdateVardev_update_var, and dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowDevUpdateWindowdev_update_window or the procedures dev_update_on and dev_update_off can be used.

This option can also be controlled via the Preferences dialog: Edit -> Preferences -> Runtime Settings -> Update Window.

注意

此算子不支持代码导出。

参数

DisplayModeDisplayModeDisplayModeDisplayModedisplayModedisplay_mode (输入控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Mode for graphic output.

默认值: 'off' "off" "off" "off" "off" "off"

值列表: 'off'"off""off""off""off""off", 'on'"on""on""on""on""on"

结果

If the values of the specified parameters are correct, dev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindowDevUpdateWindowdev_update_window 返回 2 ( H_MSG_TRUE )。否则,将抛出一个异常并返回错误代码。

可能的后继

dev_displaydev_displayDevDisplayDevDisplayDevDisplaydev_display

另见

dev_update_pcdev_update_pcDevUpdatePcDevUpdatePcDevUpdatePcdev_update_pc, dev_update_vardev_update_varDevUpdateVarDevUpdateVarDevUpdateVardev_update_var, dev_update_timedev_update_timeDevUpdateTimeDevUpdateTimeDevUpdateTimedev_update_time

模块

基础