Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::nx::Object::slot::__delete::object
Methods (to be applied on the object)
method (scripted)
::nsf::method::delete [self] -per-object $name
property (scripted)
set slot [: ::nsf::methods::object::info::slotobjects -type ::nx::Slot $name]
if {$slot eq ""} {
return -code error "[self]: cannot delete object-specific property '$name'"
}
$slot destroy
nsf::var::unset -nocomplain [self] $name
variable (scripted)
if {[nsf::var::exists [self] $name]} {
nsf::var::unset [self] $name
} else {
return -code error "[self]: object does not have an instance variable '$name'"
}
set slot [: ::nsf::methods::object::info::slotobjects -type ::nx::Slot $name]
if {$slot ne ""} {
$slot destroy
}