public static DestUnset ( Gtk dest ) : void | ||
dest | Gtk | |
Résultat | void |
static void ClearFaults(Gtk.Widget widget) { Hashtable widgetFaults = faultGroups[widget] as Hashtable; if (widgetFaults == null) { return; } faultGroups.Remove(widget); foreach (Gdk.Window win in widgetFaults.Keys) { win.Destroy(); } widgetFaults.Clear(); DND.DestUnset(widget); }
static void ClearFaults(Gtk.Widget widget) { Hashtable widgetFaults = faultGroups[widget] as Hashtable; if (widgetFaults == null) { return; } faultGroups.Remove(widget); widget.Destroyed -= FaultWidgetDestroyed; widget.DragMotion -= FaultDragMotion; widget.DragLeave -= FaultDragLeave; widget.DragDrop -= FaultDragDrop; widget.DragDataReceived -= FaultDragDataReceived; foreach (Gdk.Window win in widgetFaults.Keys) { win.Destroy(); } widgetFaults.Clear(); DND.DestUnset(widget); }