Operator Reference
query_gray (Operator)
query_gray — Query the displayable gray values.
Signature
query_gray( : : WindowHandle : Grayval)
Description
query_gray returns all gray values that are used for
gray value output (disp_image) and that can be reproduced
exactly in the window. They can be set with the
set_gray call.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandle (input_control) window → (handle)
Window handle.
Grayval (output_control) integer-array → (integer)
Tuple of all displayable gray values.
Result
query_gray returns 2 (
H_MSG_TRUE)
, if the window is
valid. Otherwise an exception is raised.
Possible Successors
See also
Module
Foundation