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