clear_windowT_clear_windowClearWindowClearWindowclear_window (Operator)

Name

clear_windowT_clear_windowClearWindowClearWindowclear_window — Delete the contents of an output window.

Signature

clear_window( : : WindowHandle : )

Herror T_clear_window(const Htuple WindowHandle)

void ClearWindow(const HTuple& WindowHandle)

void HWindow::ClearWindow() const

static void HOperatorSet.ClearWindow(HTuple windowHandle)

void HWindow.ClearWindow()

def clear_window(window_handle: HHandle) -> None

Description

clear_windowclear_windowClearWindowClearWindowClearWindowclear_window deletes all entries in the output window. The window (background and edge) is reset to its original state. Parameters assigned to this window (e.g., with set_colorset_colorSetColorSetColorSetColorset_color, set_paintset_paintSetPaintSetPaintSetPaintset_paint, etc.) remain unmodified.

Execution Information

Parameters

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

Window handle.

Result

If the output window is valid clear_windowclear_windowClearWindowClearWindowClearWindowclear_window returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window

Alternatives

clear_rectangleclear_rectangleClearRectangleClearRectangleClearRectangleclear_rectangle, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1

See also

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window

Module

Foundation