示例#1
0
 public AccelGroupFindFuncWrapper(Gtk.AccelGroupFindFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new AccelGroupFindFuncNative(NativeCallback);
     }
 }
示例#2
0
        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);
        }