Gtk.Object.Destroy Method

Request all holders to the object to release the reference.

Syntax

public virtual void Destroy ()

Remarks

This method is used to notify objects that might hold a reference to this object to release the reference.

This invokes the Object.OnDestroyed method and triggers the OBject.Destroyed event.

The object is only destroyed if all the references to the object are released, this is just a mechanism to request that references be released.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.4