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