delete
NAMESYNOPSIS
DESCRIPTION
KEYWORDS
___________________________
NAME
itcl::delete − delete things in the interpreter
SYNOPSIS
itcl::delete option ?arg arg ...? ___________________________
DESCRIPTION
The delete command is used to delete things in the interpreter. It is implemented as an ensemble, so extensions can add their own options and extend the behavior of this command. By default, the delete command handles the destruction of namespaces.
The
option argument determines what action is carried out
by the command. The legal options (which may be
abbreviated) are:
delete class name ?name...?
Deletes one or more [incr Tcl] classes called name. This deletes all objects in the class, and all derived classes as well.
If an error is encountered while destructing an object, it will prevent the destruction of the class and any remaining objects. To destroy the entire class without regard for errors, use the "delete namespace" command.
delete object name ?name...?
Deletes one or more [incr Tcl] objects called name. An object is deleted by invoking all destructors in its class hierarchy, in order from most- to least-specific. If all destructors are successful, data associated with the object is deleted and the name is removed as a command from the interpreter.
If the access command for an object resides in another namespace, then its qualified name can be used:
itcl::delete object foo::bar::x
If an error is encountered while destructing an object, the delete command is aborted and the object remains alive. To destroy an object without regard for errors, use the "rename" command to destroy the object access command.
delete namespace name ?name...?
Deletes one or more namespaces called name. This deletes all commands and variables in the namespace, and deletes all child namespaces as well. When a namespace is deleted, it is automatically removed from the import lists of all other namespaces.
KEYWORDS
namespace, proc, variable, ensemble
More Linux Commands
manpages/get_robust_list.2.html
get_robust_list(2) get set list of robust futexes (ManPage)
get_robust_list.2 - The robust futex implementation needs to maintain per-thread lists of robust futexes which are unlocked when the thread exits. These lists a
manpages/is_subwin.3ncurses.html
is_subwin(3ncurses) - curses window properties (Man Page)...
This implementation provides functions which return properties set in the WINDOW structure, allowing it to be opaque if the symbol NCURSES_OPAQUE is defined: is
manpages/pthread_sigmask.3.html
pthread_sigmask(3) - examine and change mask of blocked sign
The pthread_sigmask() function is just like sigprocmask(2), with the difference that its use in multithreaded programs is explicitly specified by POSIX.1-2001.
manpages/unexpunge.8.html
unexpunge(8) - restore expunged (but yet unremoved) messages
Unexpunge is used to restore expunged messages which have yet to be removed from the Cyrus mailspool. This utility is only useful when the server is configured
manpages/getumask.3.html
getumask(3) - get file creation mask - Linux manual page....
This function returns the current file creation mask. It is equivalent to mode_t getumask(void) { mode_t mask = umask( 0 ); umask(mask); return mask; } except t
manpages/XDGAInstallColormap.3.html
XDGAInstallColormap(3) - Client library for the XFree86-DGA
The XFree86-DGA extension is an X server extension for allowing client programs direct access to the video frame buffer. This is a brief description of the prog
manpages/systemd-sysctl.8.html
systemd-sysctl(8) Configure kernel parameters at boot.......
systemd-sysctl.service is an early-boot service that configures sysctl(8) kernel parameters. See sysctl.d(5) for information about the configuration of this ser
manpages/tk_strictMotif.n.html
tk_strictMotif(n) Variables used or set by Tk ______________
The following Tcl variables are either set or used by Tk at various times in its execution: tk_library This variable holds the file name for a directory contain
manpages/ld.1.html
ld(1) - The GNU linker (Commands - Linux manual page).......
ld combines a number of object and archive files, relocates their data and ties up symbol references. Usually the last step in compiling a program is to run ld.
manpages/Tcl_GetCommandFromObj.3.html
Tcl_GetCommandFromObj(3) - implement new commands in C......
Tcl_CreateObjCommand defines a new command in interp and associates it with procedure proc such that whenever name is invoked as a Tcl command (e.g., via a call
manpages/pam_vinfo.3.html
pam_vinfo(3) - display messages to the user - Linux man page
The pam_info function prints messages through the conversation function to the user. The pam_vinfo function performs the same task as pam_info() with the differ
manpages/pam_wheel.8.html
pam_wheel(8) - Only permit root access to members of group w
The pam_wheel PAM module is used to enforce the so-called wheel group. By default it permits root access to the system if the applicant user is a member of the
