dev_get_preferencesT_dev_get_preferencesDevGetPreferencesDevGetPreferencesdev_get_preferences (算子)
名称
dev_get_preferencesT_dev_get_preferencesDevGetPreferencesDevGetPreferencesdev_get_preferences — 查询程序中的 HDevelop 首选项。
签名
描述
dev_get_preferencesdev_get_preferencesDevGetPreferencesDevGetPreferencesDevGetPreferencesdev_get_preferences allows to query selected preferences of
HDevelop within a program.
Until now, the following preferences are supported:
- 'graphics_window_context_menu'"graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu":
-
Returns whether a right click into the graphics window opens a context
menu or not.
By default the context menu is enabled.
- 'graphics_window_mouse_wheel'"graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel":
-
Returns whether the mouse wheel can be used to zoom the contents of
the graphics window or not.
By default the moue wheel is enabled.
- 'graphics_window_tool_tip'"graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip":
-
Returns whether pressing the Ctrl-key over the graphics window shows
a tool tip with the current pixel position and the gray
values under the mouse cursor or not.
By default the tool tip is enabled.
- 'suppress_handled_exceptions_dlg'"suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg":
-
Returns whether the error dialog is suppressed that is by
default opened for exceptions that are thrown during program
execution and that are enclosed by a trytryTryTryTrytry-catchcatchCatchCatchCatchcatch block
and can therefore be handled by an exception handler.
This option is persistently stored in the HDevelop.ini file and
can be configured via the Preferences dialog / General Options /
Experienced Users.
注意
此算子不支持代码导出。
参数
PreferenceNamesPreferenceNamesPreferenceNamesPreferenceNamespreferenceNamespreference_names (输入控制) attribute.name-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Selection of the preferences.
默认值:
'graphics_window_context_menu'
"graphics_window_context_menu"
"graphics_window_context_menu"
"graphics_window_context_menu"
"graphics_window_context_menu"
"graphics_window_context_menu"
值列表:
'graphics_window_context_menu'"graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu", 'graphics_window_mouse_wheel'"graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel", 'graphics_window_tool_tip'"graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip", 'suppress_handled_exception_dlg'"suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg"
PreferenceValuesPreferenceValuesPreferenceValuesPreferenceValuespreferenceValuespreference_values (输出控制) attribute.value-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Values of the selected preferences.
另见
dev_set_preferencesdev_set_preferencesDevSetPreferencesDevSetPreferencesDevSetPreferencesdev_set_preferences
模块
基础