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