public PrinterFuncWrapper(Gtk.PrinterFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new PrinterFuncNative(NativeCallback); } }
public static Gtk.PrinterFunc GetManagedDelegate (PrinterFuncNative native) { if (native == null) return null; PrinterFuncWrapper wrapper = (PrinterFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public static Gtk.PrinterFunc GetManagedDelegate(PrinterFuncNative native) { if (native == null) { return(null); } PrinterFuncWrapper wrapper = (PrinterFuncWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal PrinterFuncInvoker(PrinterFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal PrinterFuncInvoker(PrinterFuncNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal PrinterFuncInvoker(PrinterFuncNative native_cb) : this(native_cb, IntPtr.Zero, null) { }
public PrinterFuncWrapper (Gtk.PrinterFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new PrinterFuncNative (NativeCallback); }
internal PrinterFuncInvoker (PrinterFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal PrinterFuncInvoker (PrinterFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal PrinterFuncInvoker (PrinterFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}