public ListBoxForeachFuncWrapper(Gtk.ListBoxForeachFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new ListBoxForeachFuncNative(NativeCallback); } }
public void SelectedForeach(Gtk.ListBoxForeachFunc func) { GtkSharp.ListBoxForeachFuncWrapper func_wrapper = new GtkSharp.ListBoxForeachFuncWrapper(func); gtk_list_box_selected_foreach(Handle, func_wrapper.NativeDelegate, IntPtr.Zero); }