public Gtk.Widget GetInfoWidget(GtkSource.ICompletionProposal proposal) { IntPtr raw_ret = gtk_source_completion_provider_get_info_widget(Handle, proposal == null ? IntPtr.Zero : ((proposal is GLib.Object) ? (proposal as GLib.Object).Handle : (proposal as GtkSource.CompletionProposalAdapter).Handle)); Gtk.Widget ret = GLib.Object.GetObject(raw_ret) as Gtk.Widget; return(ret); }
public bool Equal(GtkSource.ICompletionProposal other) { bool raw_ret = gtk_source_completion_proposal_equal(Handle, other == null ? IntPtr.Zero : ((other is GLib.Object) ? (other as GLib.Object).Handle : (other as GtkSource.CompletionProposalAdapter).Handle)); bool ret = raw_ret; return(ret); }
public bool GetStartIter(GtkSource.CompletionContext context, GtkSource.ICompletionProposal proposal, Gtk.TextIter iter) { IntPtr native_iter = GLib.Marshaller.StructureToPtrAlloc(iter); bool raw_ret = gtk_source_completion_provider_get_start_iter(Handle, context == null ? IntPtr.Zero : context.Handle, proposal == null ? IntPtr.Zero : ((proposal is GLib.Object) ? (proposal as GLib.Object).Handle : (proposal as GtkSource.CompletionProposalAdapter).Handle), native_iter); bool ret = raw_ret; Marshal.FreeHGlobal(native_iter); return(ret); }
public void UpdateInfo(GtkSource.ICompletionProposal proposal, GtkSource.CompletionInfo info) { gtk_source_completion_provider_update_info(Handle, proposal == null ? IntPtr.Zero : ((proposal is GLib.Object) ? (proposal as GLib.Object).Handle : (proposal as GtkSource.CompletionProposalAdapter).Handle), info == null ? IntPtr.Zero : info.Handle); }
private bool InternalProposalActivated(GtkSource.ICompletionProvider provider, GtkSource.ICompletionProposal proposal) { ProposalActivatedNativeDelegate unmanaged = class_abi.BaseOverride <ProposalActivatedNativeDelegate>(this.LookupGType(), "proposal_activated"); if (unmanaged == null) { return(false); } bool __result = unmanaged(this.Handle, provider == null ? IntPtr.Zero : ((provider is GLib.Object) ? (provider as GLib.Object).Handle : (provider as GtkSource.CompletionProviderAdapter).Handle), proposal == null ? IntPtr.Zero : ((proposal is GLib.Object) ? (proposal as GLib.Object).Handle : (proposal as GtkSource.CompletionProposalAdapter).Handle)); return(__result); }
protected virtual bool OnProposalActivated(GtkSource.ICompletionProvider provider, GtkSource.ICompletionProposal proposal) { return(InternalProposalActivated(provider, proposal)); }