public bool Match(GtkSource.CompletionContext context) { bool raw_ret = gtk_source_completion_provider_match(Handle, context == null ? IntPtr.Zero : context.Handle); bool ret = raw_ret; return(ret); }
public bool Start(GLib.List providers, GtkSource.CompletionContext context) { bool raw_ret = gtk_source_completion_start(Handle, providers == null ? IntPtr.Zero : providers.Handle, context == null ? IntPtr.Zero : context.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 GtkSource.CompletionContext CreateContext(Gtk.TextIter position) { IntPtr native_position = GLib.Marshaller.StructureToPtrAlloc(position); IntPtr raw_ret = gtk_source_completion_create_context(Handle, native_position); GtkSource.CompletionContext ret = GLib.Object.GetObject(raw_ret) as GtkSource.CompletionContext; Marshal.FreeHGlobal(native_position); return(ret); }
private void InternalPopulateContext(GtkSource.CompletionContext context) { PopulateContextNativeDelegate unmanaged = class_abi.BaseOverride <PopulateContextNativeDelegate>(this.LookupGType(), "populate_context"); if (unmanaged == null) { return; } unmanaged(this.Handle, context == null ? IntPtr.Zero : context.Handle); }
public void Populate(GtkSource.CompletionContext context) { gtk_source_completion_provider_populate(Handle, context == null ? IntPtr.Zero : context.Handle); }
protected virtual void OnPopulateContext(GtkSource.CompletionContext context) { InternalPopulateContext(context); }