public bool Match(Gtk.RecentInfo info_b) { bool raw_ret = gtk_recent_info_match(Handle, info_b == null ? IntPtr.Zero : info_b.Handle); bool ret = raw_ret; return(ret); }
public unsafe Gtk.RecentInfo LookupItem(string uri) { IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup(uri); IntPtr error = IntPtr.Zero; IntPtr raw_ret = gtk_recent_manager_lookup_item(Handle, native_uri, out error); Gtk.RecentInfo ret = raw_ret == IntPtr.Zero ? null : (Gtk.RecentInfo)GLib.Opaque.GetOpaque(raw_ret, typeof(Gtk.RecentInfo), false); GLib.Marshaller.Free(native_uri); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
int InvokeNative(Gtk.RecentInfo a, Gtk.RecentInfo b) { int __result = native_cb(a == null ? IntPtr.Zero : a.Handle, b == null ? IntPtr.Zero : b.Handle, __data); return(__result); }