Method

RotulusViewsearch

Declaration [src]

void
rotulus_view_search (
  RotulusView* self,
  const char* needle,
  gboolean case_sensitive,
  guint* n_matches,
  guint* current
)

Description [src]

Selects the first match at or below the viewport.

Parameters

needle

Type: const char*

What to find; NULL or “” clears the search.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
case_sensitive

Type: gboolean

Whether case matters.

n_matches

Type: guint*

How many matches there are.

The argument will be set by the function.
The argument can be NULL.
current

Type: guint*

Which one is current, from 1; 0 when none is.

The argument will be set by the function.
The argument can be NULL.