query_grayT_query_grayQueryGrayQueryGrayquery_gray (Operator)

Name

query_grayT_query_grayQueryGrayQueryGrayquery_gray — Query the displayable gray values.

Signature

query_gray( : : WindowHandle : Grayval)

Herror T_query_gray(const Htuple WindowHandle, Htuple* Grayval)

void QueryGray(const HTuple& WindowHandle, HTuple* Grayval)

HTuple HWindow::QueryGray() const

static void HOperatorSet.QueryGray(HTuple windowHandle, out HTuple grayval)

HTuple HWindow.QueryGray()

def query_gray(window_handle: HHandle) -> Sequence[int]

Description

query_grayquery_grayQueryGrayQueryGrayQueryGrayquery_gray returns all gray values that are used for gray value output (disp_imagedisp_imageDispImageDispImageDispImagedisp_image) and that can be reproduced exactly in the window. They can be set with the set_grayset_graySetGraySetGraySetGrayset_gray call.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

GrayvalGrayvalGrayvalGrayvalgrayvalgrayval (output_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Tuple of all displayable gray values.

Result

query_grayquery_grayQueryGrayQueryGrayQueryGrayquery_gray returns 2 (H_MSG_TRUE), if the window is valid. Otherwise an exception is raised.

Possible Successors

set_grayset_graySetGraySetGraySetGrayset_gray, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

See also

set_grayset_graySetGraySetGraySetGrayset_gray, disp_imagedisp_imageDispImageDispImageDispImagedisp_image

Module

Foundation