DestUnset() public static method

public static DestUnset ( Gtk dest ) : void
dest Gtk
return void
Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }