Exemple #1
0
        public static Delegate RemoveProxySignalDelegate(Element element, string signal, 
            GLib.DynamicSignalHandler baseHandler, Delegate existingHandler, Delegate removeHandler)
        {
            Delegate temp_delegate = Delegate.Remove(existingHandler, removeHandler);
            if(temp_delegate == null) {
                element.Disconnect(signal, baseHandler);
            }

            return temp_delegate;
        }
Exemple #2
0
        public static Delegate RemoveProxySignalDelegate(Element element, string signal,
                                                         GLib.DynamicSignalHandler baseHandler, Delegate existingHandler, Delegate removeHandler)
        {
            Delegate temp_delegate = Delegate.Remove(existingHandler, removeHandler);

            if (temp_delegate == null)
            {
                element.Disconnect(signal, baseHandler);
            }

            return(temp_delegate);
        }