query_paintT_query_paintQueryPaintQueryPaintquery_paint (Operator)

Name

query_paintT_query_paintQueryPaintQueryPaintquery_paint — Query the gray value display modes.

Signature

query_paint( : : WindowHandle : Mode)

Herror T_query_paint(const Htuple WindowHandle, Htuple* Mode)

void QueryPaint(const HTuple& WindowHandle, HTuple* Mode)

HTuple HWindow::QueryPaint() const

static void HOperatorSet.QueryPaint(HTuple windowHandle, out HTuple mode)

HTuple HWindow.QueryPaint()

def query_paint(window_handle: HHandle) -> Sequence[str]

Description

query_paintquery_paintQueryPaintQueryPaintquery_paint returns the names of all gray value display modes (e.g., 'gray', '3d_plot', etc.) for the output window. These modes are used by set_paintset_paintSetPaintSetPaintset_paint. query_paintquery_paintQueryPaintQueryPaintquery_paint only returns the names of the display values, not the additional parameters that may be necessary for some modes.

Execution Information

Parameters

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

Window handle.

ModeModeModemodemode (output_control)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Gray value display mode names.

Result

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

Possible Successors

get_paintget_paintGetPaintGetPaintget_paint, set_paintset_paintSetPaintSetPaintset_paint, disp_imagedisp_imageDispImageDispImagedisp_image

See also

set_paintset_paintSetPaintSetPaintset_paint, get_paintget_paintGetPaintGetPaintget_paint, disp_imagedisp_imageDispImageDispImagedisp_image

Module

Foundation