set_tshapeT_set_tshapeSetTshapeSetTshapeset_tshape (算子名称)
名称
set_tshapeT_set_tshapeSetTshapeSetTshapeset_tshape — Set the shape of the text cursor.
警告
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape is obsolete and is only provided for
reasons of backward compatibility.
参数签名
描述
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape sets the shape and the display mode of the text
cursor of the output window.
A text cursor marks the current position for text output. It is different
from the mouse cursor (although both will be called 'cursor', if the context
makes misconceptions impossible). The available shapes for the text cursor
can be queried with query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
TextCursorTextCursorTextCursorTextCursortextCursortext_cursor (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of cursor shape.
Default:
'invisible'
"invisible"
"invisible"
"invisible"
"invisible"
"invisible"
结果
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape returns 2 (
H_MSG_TRUE)
if the window is valid and the
given cursor shape is defined for this window. Otherwise an
exception is raised.
可能的前置算子
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window,
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape,
get_tshapeget_tshapeGetTshapeGetTshapeGetTshapeget_tshape
可能的后置算子
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string,
read_stringread_stringReadStringReadStringReadStringread_string
参考其它
get_tshapeget_tshapeGetTshapeGetTshapeGetTshapeget_tshape,
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape,
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string,
read_stringread_stringReadStringReadStringReadStringread_string
模块
Foundation