SourceSearchContext.this

Creates a new search context, associated with @buffer, and customized with @settings. If @settings is %NULL, a new #GtkSourceSearchSettings object will be created, that you can retrieve with gtk_source_search_context_get_settings().

  1. this(GtkSourceSearchContext* gtkSourceSearchContext, bool ownedRef)
  2. this(SourceBuffer buffer, SourceSearchSettings settings)
    class SourceSearchContext

Parameters

buffer SourceBuffer

a #GtkSourceBuffer.

settings SourceSearchSettings

a #GtkSourceSearchSettings, or %NULL.

Return: a new search context.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.10