public AccelGroupFindFuncWrapper(Gtk.AccelGroupFindFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new AccelGroupFindFuncNative(NativeCallback); } }
public Gtk.AccelKey Find(Gtk.AccelGroupFindFunc find_func) { GtkSharp.AccelGroupFindFuncWrapper find_func_wrapper = new GtkSharp.AccelGroupFindFuncWrapper(find_func); IntPtr raw_ret = gtk_accel_group_find(Handle, find_func_wrapper.NativeDelegate, IntPtr.Zero); Gtk.AccelKey ret = Gtk.AccelKey.New(raw_ret); return(ret); }