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