Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: December 2012

URL: http://cxc.harvard.edu/chips/erase.html
Jump to: Description · Example · See Also


AHELP for CIAO 4.5 ChIPS v1

erase

Context: utilities

Synopsis

Remove all frames (and their contents) from the window.

Syntax

erase([id])

Description

  • id - an optional ChipsId structure containing values to modify the currency state for the command or a string id to specify the window.

The erase command removes all frames from the window. The current window is affected, unless a ChipsId structure is specified. It is equivalent to the command delete_frame("all").

Example

chips> add_frame(.1,.1,.5,.6,'bgcolor=plum')
chips> add_frame(.5,.2,.98,.8,'bgcolor=coral')
chips> erase()

The erase command deletes all of the frames that exist in the current window.

See Also

frames
add_frame, arrange_frames, blink_frames, current_frame, delete_frame, display_frame, get_frame, hide_frame, move_frame, next_frame, reposition_frame, set_frame, tile, view_placed_frame, view_single_frame
utilities
get_object_count

Last modified: December 2012
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.