public WindowInvalidateHandlerFuncWrapper(Gdk.WindowInvalidateHandlerFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new WindowInvalidateHandlerFuncNative(NativeCallback); } }
public static Gdk.WindowInvalidateHandlerFunc GetManagedDelegate(WindowInvalidateHandlerFuncNative native) { if (native == null) { return(null); } WindowInvalidateHandlerFuncWrapper wrapper = (WindowInvalidateHandlerFuncWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal WindowInvalidateHandlerFuncInvoker(WindowInvalidateHandlerFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal WindowInvalidateHandlerFuncInvoker(WindowInvalidateHandlerFuncNative native_cb, IntPtr data) : this(native_cb, data, null) { }