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_paintQueryPaintQueryPaintQueryPaintquery_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_paintSetPaintSetPaintSetPaintset_paint. query_paintquery_paintQueryPaintQueryPaintQueryPaintquery_paint only returns the names of the display values, not the additional parameters that may be necessary for some modes.

Execution Information

Parameters

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

Window handle.

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

Gray value display mode names.

Result

query_paintquery_paintQueryPaintQueryPaintQueryPaintquery_paint returns TRUE if the window is valid. Otherwise an exception is raised.

Possible Successors

get_paintget_paintGetPaintGetPaintGetPaintget_paint, set_paintset_paintSetPaintSetPaintSetPaintset_paint, disp_imagedisp_imageDispImageDispImageDispImagedisp_image

See also

set_paintset_paintSetPaintSetPaintSetPaintset_paint, get_paintget_paintGetPaintGetPaintGetPaintget_paint, disp_imagedisp_imageDispImageDispImageDispImagedisp_image

Module

Foundation